general if you have java_home environment variable setup, and installed the latest java,
you do not need do any change on eclipse.ini.
No need to add -vm c:\....java\bin, just leave eclipse.ini file alone.
Here is my environment variable:
computer > properties > advanced system settings > environment variable
add:
PATH C:\Program Files\Java\jdk1.8.0_05;
=====================================
This happens mainly due to:
- incompatible
sdk
andjdk
versions - using a 32 bit java version for your 64 bit eclipse
JVM
(programfilex86-java
)
WHAT YOU HAVE TO DO : firstly check the
eclipse.ini
file to see if you have a path that is pointing to your jdk
it should look something like this-vm
C:\Program Files\Java\blah\blah\blah\javaw.exe
if not then locate the
sample :
jdk
7 javaw.exe
filesample :
C:\Program Files\Java\jdk1.7.0_45\jre\bin\javaw.exe
paste
-vm
and the path below it into your eclipse.ini
file-vm
C:\Program Files\Java\jdk1.7.0_45\jre\bin\javaw.exe
make sure that you type the above just before the
-vmargs
and after the OpenFile
No comments:
Post a Comment