Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#f9faff
borderStylesolid
titleContents

Table of Contents

...

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.

There is no way to edit eclipse.ini when Eclipse is installed via snap. Workarounds include:

  • Use the --launcher.ini /path/to/eclipse.ini option.
  • Pass individual settings via -vmargs -Xms1g -Xmx3g  to the launcher.

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, add the following lines to the eclipse.ini.

...

Configuration

Application memory

...

Eclipse will perform terribly unless you give it a few GB of memory (RAM).

Ensure the eclipse.ini contains the following JVM options:

Code Block
-Xms512m
-Xmx2g

...