3

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)

4

1 Answer 1

2

For more details see eclipse.ini
In your Image,-vm should be before -vmargs. You are doing following wrong:

  1. -vm you are putting at 2 place.
  2. value of -vm on the same line.

enter image description here

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Installed 32 bit version of Java 8 u25 and added the "--launcher.appendVmargs" line which solved the problem! Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.