...
- 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)
On Windows:
C:\ProgramData\eclipse\eclipse-java
Workspace locations
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 locations:
Configuration
Importing Gradle Projects
...