2007年5月10日星期四

The possible command line parameters of Eclipse launcher

The Eclipse launcher is used to run the Eclipse IDE. Under Windows OS it is the "eclipse.exe".

The possible command line parameters of Eclipse launcher includes :

-vm <javaVM>
the Java VM to be used


-os <opSys>
the operating system being run on


-arch <osArch>
the hardware architecture of the OS: x86, sparc, hp9000


-ws <gui>
the window system to be used: win32, motif, gtk, ...


-nosplash
do not display the splash screen. The java application will not receive
the -showsplash command.


-showsplash <bitmap>
show the given bitmap in the splash screen.


-name <name>

application name displayed in error message dialogs and splash screen window. Default value is computed from the name of the executable - with the first letter capitalized if possible. e.g. eclipse.exe defaults to the name Eclipse.


-startup

the startup jar to execute. The argument is first assumed to be
relative to the path of the launcher. If such a file does not
exist, the argument is then treated as an absolute path.
The default is to execute a jar called startup.jar in the folder
where the launcher is located.
The jar must be an executable jar. e.g. -startup myfolder/myJar.jar will
cause the launcher to start the application: java -jar <launcher folder>/myfolder/myJar.jar

-library

the location of the eclipse launcher shared library (this library) to use. By default, the launcher exe finds


<userArgs>

arguments that are passed along to the Java application (i.e, -data <path>,
-debug, -console, -consoleLog, etc)


-vmargs <userVMargs> ...
a list of arguments for the VM itself


reference:
eclipse.c of the "platform-launcher" in the eclipse cvs
eclipse.c of the "org.eclipse.equinox.executable" in the eclipse cvs

没有评论: