Eclipse (Mars) not starting after Java upgrade

When I start an eclipse, I get this error. The -vm argument contains the java.exe path, which cannot be on my system after updating Java. How can i fix this? Java was started, but returned exit code = 13 C: /ProgramData/Oracle/java/javapath/java.exe .... This path does not exist on my system

Eclipse.INI Content

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 512M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx512m 
+5
source share
2 answers

My JVM seems to be 32-bit, and Eclipse is definitely 64-bit, perhaps the reason and the earlier location it referenced were to have 64-bit Java, which was removed throughout the update process somewhere. I think I’ll just download the 32-bit version of Eclipse Mars and this will solve the problem. -

0
source
 osgi.requiredJavaVersion=1.6 

this line indicates the use of Java 6. If you updated JAVA, you should update this field.

https://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM

+2
source

Source: https://habr.com/ru/post/1204808/


All Articles