Because JDK8 is required to install the elasticsearch5.x version, it was installed on this machine, but it was later discovered that the eclipse Times was wrong:
Error:registry key ' Software\javasoft\java runtimeenvironment ' \currentversion '
Have value ' 1.7 ', but ' 1.8 ' is required.
Modify the CurrentVersion value in the registry to 1.7 if prompted
But after the correction still error, what is the matter? So find the information on the Internet finally found to modify the following configuration:
Copy the Java.exe Javaw.exe Javaws.exe in%java7_home%\bin to C:\windows/system32 and C:\Windows\SysWOW64 and replace the original file. Copy the shortcuts of the above three files to C:\ProgramData\Oracle\Java\javapath and replace the original files
Reference Link: http://blog.csdn.net/manerfan/article/details/48492809
Personal solution: Put the above three files into the c:\windows/system32 problem is solved!
Eclipse Startup error has value ' 1.7 ', but ' 1.8 ' is required