I\'m having issue with running my Eclipse with the following config:
eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--
I have added below line and its working fine.
-vm C:/Program Files/Java/jdk1.6.0_16/bin/javax.exe
-Xmx512m
-Dosgi.requiredJavaVersion=1.6
Just add your JDK path in windows environment variable. This solves in my case
I had the same problem, I've fixed it very simple by updating my JDK version. If you don't have JDK installed or not updated, please Go here and install/update it. Mostly your problem will be fixed.
Change the below parameter in the eclipse.ini (which is in the same directory as eclipse.exe) to match one of your current Java version. Note that I also changed the maximum memory allowed for the eclipse process (which is run in a JVM). If you having multiple Java versions installed this can be happen. The below trick word for me.
-Xmx512m
-Dosgi.requiredJavaVersion=1.6
I changed this to,
-Xmx1024m
-Dosgi.requiredJavaVersion=1.7
Then It worked.
It works for me after removing -XX:+UseParallelOldGC option from file.
--launcher.XXMaxPermSize MaxPermSize=256m -Xms512m -Xmx1024m
replace with below one
--launcher.XXMaxPermSize MaxPermSize=128m -Xms256m -Xmx512 m