Versions Compared

Key

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

Table of Contents

...

  • C:\ProgramData\eclipse\eclipse-java 

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 the eclipse.ini with:

Code Block
titleeclipse.ini
-vm/path/to/jdk

Workspaces

It is not recommended to put your code in a workspace directory. A "workspace" in Eclipse is more akin to isolated or "portable" application settings; not a place to store projects.

...

Info

There is no way to edit eclipse.ini when Eclipse is installed via snap. A workaround is to pass -vmargs -Xms1g -Xmx3g  to the launcher.

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

In 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

...