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?
The most likely cause of this Eclipse-environment-based error is that there are unsupported characters in one of the installation folders. To resolve this error, change the name of the installation folder so that it does not include unsupported characters, which are :%#<>"!+ .
If you have installed 64 bit version of java jdk and 32 bit version of eclipse ide or vice versa , then you will get this error. You will get rid of this error by just downloading the correct version of java jdk and eclipse ide.
For windows, it's in the same directory as eclipse.exe file, as shown in below image. You can reach this location by first right clicking on Eclipse app and click on “Show Package Contents” and then in the next window navigate to Contents/Eclipse directory, as shown in below images.
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.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With