eclipse.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up
All lines after -vmargs are passed as arguments to the JVM, so all arguments and options for eclipse must be specified before -vmargs (just like when you use arguments on the command-line)
-vm |
locate the Java VM to use to run Eclipse. It should be the full file system path to an appropriate: Java jre/bin directory, Java Executable, Java shared library (jvm.dll or libjvm.so), or a Java VM Execution Environment description file. |
-startup |
The location of jar used to startup eclipse. The jar referred to should have the Main-Class attribute set to org.eclipse.equinox.launcher.Main. |
--launcher.library |
the location of the eclipse executable's companion shared library. |
-showSplash |
specifies the bitmap to use in the splash screen. |
--launcher.XXMaxPermSize |
If specified, and the executable detects that the VM being used is a Sun VM, then the launcher will automatically add the -XX:MaxPermSize= |
--launcher.defaultAction | specifies the default action to take when the launcher is started without any "-" arguments on the command line. |
-vmargs [vmargs*] (Executable, Main) | Used to customize the operation of the Java VM to use to run Eclipse. |
For more infor: http://wiki.eclipse.org/Eclipse.ini
More Options: http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
Optimal Settings: http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse
My current settings (Eclipse Helios running in CentOS)
-vm
/opt/jdk1.5.0_15/bin/java
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms1024m
-Xmx2096m
-XX:MaxPermSize=256m
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
No comments:
Post a Comment