Installation
There are generally three ways to install Eclipse:
- Manually from Eclipse Downloads
- Via a package manager (snapcraft, pacman, etc.)
- The Eclipse Installer
Recommended installation locations
On Linux:
/home/shadylady/tools/eclipse/eclipse-java
/opt/eclipse
(according to Linux#Manualsoftwareinstallation)/usr/lib/eclipse
(This is only if installed by an official system package manager)
On Windows:
C:\ProgramData\eclipse\eclipse-java
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.
Is is highly discouraged to put code in an Eclipse workspace folder.
Potential workspace locations:
~/tools/eclipse/workspace
(Linux)~/.config/eclipse/workspace
C:\ProgramData\eclipse\workspace
(Windows)
Configuration
Application memory
Eclipse will perform terribly unless you give it a few GB of memory (RAM).
In the installation folder, find eclipse.ini
. Ensure is contains the following JVM options:
-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.
Importing Gradle Projects
See also
Installing/Setting Up Eclipse
Importing Gradle projects into Eclipse
Importing Gradle projects into Eclipse
TODO: How to run Gradle tasks with custom options