Eclipse startup parameters

xiaoxiao2021-03-06  14

In fact, Eclipse is a system that can be configured very flexible, in addition to the default way, you can specify a variety of parameters to customize the boot mode. After referring to some information, I summed up some common start-up time to Command Arguments, if there is an incorrect place, I hope that everyone will point out.

-Arch [Processor Architecture]

Description: Specify the category of the processor used

Example: Eclipse -arch x86 or Eclipse -arch SPARC

-application [id]

Description: Specifies the application you want to run, ID is an extended ID of the ORG.Eclipse.core.Applications extension point ID plus ID iD

Example: For example, a plug-in ID is edu.sdu.App, the extended ID is myApp, then eclipse -application edu.sdu.app.myapp, you will execute your extension application

-Clean

Description: Clearing plugin cache content

Example: Eclipse -clean, sometimes the plug-in display is because Eclipse caching the plug-in to accelerate the startup process. If this parameter is specified, the cache will be empty, load from the headload

-Configuration [COFIGFILE LOCATION]

Description: Specify the location of the configuration file, use the configuration file config.ini in this directory when started.

Example: Eclipse -Configuration D: / Eclipse / Configuration

-Data [Workspace location]

Description: Specifies the Workspace location at startup

Example: For example, the Workspace location is set in D: / MyWorkspace, then Eclipse -Data D: / MyWorkspace

-debug [Option File]

Description: Start Eclipse in the DEBUG state, all Debug switches are specified in .Options file

Example: Eclipse -debug d: /eclipse/.options

-dev [ClassPath Entry]

Description: Start Eclipse in the development state, which adds all specified paths as the ClassPath for each plugin.

Example: For example, Eclipse -dev bin will generate all classes under the bin directory into classpaths, which is very useful when developing plugins

-Nosplash

Description: Specify the flash screen when the startup is started

Example: Eclipse -nosplash

-VM [JRE PATH]

Description: The Java virtual machine used when specifies startup

For example, if you want to use your own Java virtual machine, Eclipse -VM D: /J2SDK1.4.2_04/jre/bin/java.exe, this is also a benefit, you can turn on a console, you can display console information, of course If you use Eclipse -VM D: /J2SDK1.4.2_04/JRE/bin/javaw.exe, the console will not be displayed again.

-VMARGS [Java VM Arguments]]

Description: Specifies the Java virtual machine parameters to use when starting

Example: For example, to specify the memory capacity used, Eclipse -VMargs "-xms256m -xmx1024m"

Note: This parameter must be placed at the end of all parameter variables

转载请注明原文地址:https://www.9cbs.com/read-49269.html

New Post(0)