Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
C:\ProgramData\eclipse\eclipse-java
The Eclipse INI Configuration File
Eclipse is launched with settings specified in an INI file in the installation directory called eclipse.ini. See the official eclipse.ini documentation. Changes to the INI file will take effect upon the next restart of Eclipse.
Selecting a JVM
Eclipse 2020+ requires to run with a Java 11 VM or higher. If you need to set which JRE Eclipse runs with, edit add the following lines to the eclipse.ini with:.
Code Block | title | eclipse.ini
---|
-vm /path/to/jdk |
Workspaces
...
Info |
---|
There is no way to edit eclipse.ini when Eclipse is installed via snap. A workaround is to pass |
Eclipse will perform terribly unless you give it a few GB of memory (RAM).
In Ensure the installation folder, find eclipse.ini . Possible locations include /usr/lib/eclipse
, /opt/eclipse
, C:\Eclipse
, and C:\ProgramData\Eclipse
.
Ensure is contains the following JVM options:
Code Block |
---|
-Xms512m -Xmx2g |
The values above are just an example. Scale them to fit your needs. See the official eclipse.ini documentation.The settings will take effect upon the next restart of Eclipse.
Create a desktop launcher
...