Eclipse.ini
|
|
|
Eclipse.ini settings
Eclipse startup is controlled by the options in $ECLIPSE_HOME/eclipse.ini. If $ECLIPSE_HOME is not defined, the default eclipse.ini in your Eclipse installation directory is used. eclipse.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up.
Warning:
- Each option and each argument to an option must be on its own line.
- 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)
Windows eclipse.ini example :
The eclipse.ini file is divided into two parts:
- The Eclipse part
- The JVM part
Theses two parts are separated by the -vmargs argument, which indicates that all what follows concern the JVM.
Some configurations
Defines the workspace path
|
Platform |
Configuration |
|---|---|
|
Windows Platform
|
-Dosgi.instance.area=C:\var\workspace |
|
Linux Platform or Mac Platform |
-Dosgi.instance.area=/home/my_user/workspace |
Basic memory management configuration
|
Platform |
Configuration |
|---|---|
|
-Xms512m
|
minimum memory size for pile and heap |
|
-Xmx1024m |
maximum memory size for pile and heap |
|
-XX:MaxPermSize=512m |
maximum memory size for storing permanent JVM objects |
Encoding and default language
| Platform | Configuration |
|
-Dfile.encoding=utf8 |
To Set UTF-8 as the Default Encoding for New Text Files |
| -Duser.language=en | To set eclipse console locale/language |
If you have any remark or questions feel free to put a comment.If you enjoyed this tutorial and want to promote it don't hesitate to click on