Eclipse 3.5 command line startup

Recently installed latest Eclipse Galileo and found my old eclipse 3.2 startup script is no more working. There are changes jar file and Main class
  1. C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
  2. org.eclipse.equinox.launcher.Main
In post eclipse3.2, they have started using equinox launcher.

start C:\JavaDev\jdk1.6.0_13\bin\javaw.exe -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar org.eclipse.equinox.launcher.Main -os win32 -ws win32 -arch x86 -exitdata "C:\JavaDev\eclipse\eclipse.exe -exitdata c8_2c" -showlocation -data "%1" -clean -vm C:\JavaDev\jdk1.6.0_13\bin\java.exe -vmargs -Xmx1024M -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar org.eclipse.equinox.launcher.Main


Edit [11Jun2012]

For eclipse Indigo
These are my latest arguments, which I save as startupEclipse.bat and run from work-space directory


start c:\JavaDev\java7\bin\javaw.exe -Xms32m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.equinox.launcher.Main -os win32 -ws win32 -arch x86 -exitdata "C:\JavaDev\eclipse\eclipse.exe -exitdata c8_2c" -showlocation -data "%1" -clean -vm C:\JavaDev\java7\bin\java.exe -vmargs -Xmx1024M -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.equinox.launcher.Main

No comments:

Post a Comment