I have looked for a solution, but all the ones I found didn't work.
Here's the file content:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product org.eclipse.epp.package.standard.product
--launcher.defaultAction openFile
--launcher.XXMaxPermSize 256M
-showsplash org.eclipse.platform
--launcher.XXMaxPermSize 256m
--launcher.defaultAction openFile
--launcher.appendVmargs
-vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
EDIT: It works now, the vm argument was pointed to the wrong file!
If you have updated your jdk to 7 you are most likely to face this problem.
This happens mainly due to
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 jdk 7 javaw.exe file
sample : 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 -vmarg
s and after the OpenFile
.
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