Eclipse won't run says no JRE available at location [message #1697727] |
Sun, 07 June 2015 07:47  |
Eclipse User |
|
|
|
I get a message saying 'Java was started but returned exit code = 13' when I launch eclipse.
I have read that this can be cause by the -vm and pathway being specified on the same line in eclipse.ini but my initial eclipse.ini doesn't even specify a -vm:
-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.v20150204-1316
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
So i changed it to this:
-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.v20150204-1316
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
"C:\Program Files (x86)\Java\jre1.8.0_45\bin\javaw.exe"
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
And now I get this error:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: "C:\Program Files (x86)\Java\jre1.8.0_45\bin\javaw.exe"
Please can someone help?
|
|
|
|
Powered by
FUDForum. Page generated in 0.28331 seconds