1

I'am using Eclipse 3.7 from 4 years, I have never faced any issue till now.

Suddenly I started facing different errors on launching eclipse.

I have referred most of the similar issue posted on stackoverflow; fixing one issue results in another sort of issue. Say when I followed instructions to solve error code=13, on launching I got error code=1 problem, on solving that I got JRE or JDK not available issue.

To let you know about what I have done: - modified eclipse.ini file - created PATH environment variable

my eclipse.ini looks like below:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-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\Java\jdk1.8.0_91\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

User variable created as:

Name: PATH

Value: C:\Program Files\Java\jdk1.8.0_91\bin

System variable created as:

Name: JAVA_HOME

Value: C:\Program Files\Java\jdk1.8.0_91

Can someone suggest me in fixing this out.

11
  • have you tried downloading latest version? Commented Jun 28, 2016 at 6:01
  • stackoverflow.com/questions/905611/… Commented Jun 28, 2016 at 6:06
  • try replacing -vm with value C:\Program Files\IBM\Java71\jre\bin\java.exe If you encounter Java was started but returned exit code=1 point the -vm option to jvm.dll -vm C:\Development\Java\64bit\jdk1.7.0_09\jre\bin\server\jvm.dll Commented Jun 28, 2016 at 6:11
  • Is this 64-bit Windows? Commented Jun 28, 2016 at 6:12
  • your -Dosgi.requiredJavaVersion is 1.5 . JAVA_HOME is 1.8 ? Commented Jun 28, 2016 at 6:59

2 Answers 2

1

Looks like 32/64 bit problem. From launcher.library I see you are using 32 bit eclipse. From the Java path it looks like 64-bit. You can confirm Java version by running Java -version.

Try with 32-bit Java or get a 64-bit Eclipse.

My assumption here is your OS is 64-bit.

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

3 Comments

Yes my OS is 64 bit and java version is 1.8 64 bit
64-bit Java can only run a 64-bit Eclipse. Likewise for 32-bit Java and 32-bit Eclipse.
@SandeshMendon Your eclipse may be 32 bit. Try downloading 64 bit version.
1

like 32/64 bit problem. From launcher.library I see you are using 32 bit eclipse. From the Java path it looks like 64-bit. You can confirm Java version by running Java -version.

Try with 32-bit Java or get a 64-bit Eclipse.

My assumption here is your OS is 64-bit.

New contributor
ut Chut is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Comments

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.