Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse won't run says no JRE available at location (Eclipse won't run says no JRE available at location )
Eclipse won't run says no JRE available at location [message #1697727] Sun, 07 June 2015 11:47 Go to next message
Tommas Toson is currently offline Tommas TosonFriend
Messages: 1
Registered: June 2015
Junior Member
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?
Re: Eclipse won't run says no JRE available at location [message #1697734 is a reply to message #1697727] Sun, 07 June 2015 18:32 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3523
Registered: July 2009
Senior Member

You are trying to run a 64-bit Eclipse with a 32-bit JRE. They have to match.

See https://www.eclipse.org/forums/index.php/t/198527/


Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Java "sysout" no default proposals
Next Topic:project directly on live server
Goto Forum:
  


Current Time: Tue Nov 12 19:03:58 GMT 2019

Powered by FUDForum. Page generated in 0.02501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top