someoneinsane
someoneinsane

Reputation: 113

Eclipse Error - Java was started but returned exit code=13

enter image description here

After trying to figure out the "No Java JDK/JRE installed" issue and editing the .ini file to indicate what Java JRE to start with, I get this error, and it is very frustrating. I must have done something in the .ini file to make this happen. I tried a few different things to fix this, but it has become quite stressful as I haven't been able to get anything done today, so any help will be appreciated.

I read that this is a conflict between 32 and 64 bit Java and Eclipse, however I am 99% sure they are both 64 bit. 2nd Question is there anyway I can double check I have both 64 bit versions?

Upvotes: 5

Views: 9335

Answers (3)

Kailas
Kailas

Reputation: 3241

Java HotSpot(TM) Client VM it's not supported in JDK8 Just uninstall JDK8

Upvotes: 0

Towhidul Islam Tuhin
Towhidul Islam Tuhin

Reputation: 1259

I had the same problem. i was using windows7 with 64 bit OS. I just insert this two line in first line of eclipse.ini file like,

-vm

C:\Program Files (x86)\Java\jre7\bin\javaw.exe (This is path for your javaw.exe)

Upvotes: 1

Mahmoud
Mahmoud

Reputation: 353

The problem is that you are trying to start a 64 bit version of Eclipse with a 32 bit version of Java. You can download it from here

Start Eclipse with a 64 bit JVM and the problem will go away.

To do so:

eclipse.exe -vm c:\path\to\64\bit\bin\javaw.exe

You can also update the the first two lines in your eclipse.ini file to use the 64 bit java by default by doing the following:

-vm
c:\path\to\64\bit\bin\javaw.exe

Also, you can also download a 32 bit version of Eclipse for use with 32 bit Java. The key is that the bitness is the same.

Upvotes: 7

Related Questions