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.

1 Answers1

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.

nitind
  • 19,089
  • 4
  • 34
  • 43
Sravan
  • 376
  • 1
  • 6