Reputation: 358
The 32bit eclipse Luna on my machine used to work without any problems with a 64bit installation of Java 1.8 u25
on my x64 OS. To run a GAE
sample project on my machine which required Java 7
, I accidentally removed the Java 8
installation from my machine. Since then, eclipse has not started at all.
Hence I installed Java 8 u25
back which didn't help and I got the Java was started but exited with code=13
error. I then added this to the eclipse.ini
file after the =vmargs
line which is indeed where the javaw.exe
lies:
-vm C:\Program Files\Java\jdk1.7.0_75\bin\javaw.exe
(On seperate lines)
I now get the following and changing the -Xmx
value to higher or lower doesn't make any difference: http://share.pho.to/8o9jx (Showing the error)
What could be the problem? I've read on many solution pages that I need a trio of 64 bit eclipse, OS and Java. But then, how did it work before with exactly the same settings and a 32bit eclipse?
http://share.pho.to/8o9ku (Showing java version)
Upvotes: 3
Views: 8063
Reputation: 15886
For more details see eclipse.ini
In your Image,-vm
should be before -vmargs
. You are doing following wrong:
-vm
you are putting at 2 place.-vm
on the same line.See the below example:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/your/Java/path/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx1024m
Make sure you are using 64 bit eclipse version for 64bit jar.
Upvotes: 2