Eclipse startup parameters

Source: Internet
Author: User

The startup parameters of eclipse play a major role: they are always used in work.

1. How to set parameters: first create an eclipse shortcut. Open the shortcut property and add it in link.

2. parameter description:

 

1) eclipse-Nl en_us
The English language will be started. This feature is particularly useful after the international language pack is installed, and you can easily switch the versions of each language.
Eclipse.exe-nl "de" --------- German
Eclipse.exe-nl "FR" ----------- French
Eclipse.exe-nl "Ja" -------- Japanese
Eclipse.exe-nl "Ko" --------- Korean

2) use-data to set the specific location of the Workspace
-Data your_workspace_location (for example,-data C:/users/Robert/myworkspace)

3) Use-VM to set Java VM
We recommend that you explicitly specifyEclipseThe Java VM to use. Use the-VM command line independent variable (for example,-vm c:/JRE/bin/javaw.exe) to achieve this purpose. If-VM is not usedEclipseA Java VM found in the o/s path will be used. When installing other products, they can change your path, resulting in the next StartupEclipseUse another Java VM.

4)-Debug [optionsfile]
Place the platform in the debugging mode and load debugging options (if specified) from the file at the given location ). This file indicates which debugging points can be used for plug-ins and whether they are enabled. If no file location is provided, the platform searches for a file named ". Options" in the directory where eclipse is started.
For example, display the memory usage:
Create a file (named options) in Eclipse: org. Eclipse. UI/perf/showheapstatus = true
Then write down the command:-Debug options

5) Speed up startup
Eclipse.exe-vmargs-xverify: None-XX: + useparallelgc-XX: permsize = 20 m-XX: maxnewsize = 32 m-XX: newsize = 32 m-xmx256m-xms256m

6) load the plug-in again-clean
Sometimes this plug-in is clearly available in eclipse, but it is not displayed when you open eclipse. There are two possibilities: one is that the version of the plug-in is incorrect, and the other is that the plug-in is not loaded. this parameter is required at this time.

7) add virtual memory for Eclipse:
-Vmargs-xms128m-xmx512m
The default memory of eclipse is-vmargs-xms40m-xmx256m.

There are many other parameters, but they are not used frequently. I will not list them one by one.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.