Videos
Factsheet
Here are all instructions. You have to create a desktop file, see the last point in my answer.
Download the installer here
Extract the archive, e.g the 64-bit version
tar xf eclipse-inst-linux64.tar.gzChange your folder
cd eclipse-installerRun the installer WITHOUT
sudoto UPGRADE the installer./eclipse-instNote the yellow exclamation mark in the top right corner.
Activate the hamburger menu to upgrade the installer.
Close the installer after the upgrade
Install Eclipse without OR with
sudorightsWithout
sudoto install Eclipse in your home folder./eclipse-instselect your Eclipse distribution
and use a path inside your home folder
OR with
sudoto install Eclipse in/opt.sudo ./eclipse-instselect your Eclipse distribution
and use
/optas installation path
Finished
Create a desktop file
Crazy, we have a installer but no desktop files. Perhaps, this will be fixed in future versions of the installer. In the meantime:
nano ~/.local/share/applications/eclipse.desktopand add the configuration below. Note, you have to change the pach for
Execand/orIconif you have used a different location.[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Eclipse IDE Comment=Eclipse Integrated Development Environment Icon=/opt/eclipse/java-mars/eclips/icon.xpm Exec=/opt/eclipse/java-mars/eclips/eclipse StartupNotify=true StartupWMClass=java-mars
Unfortunately I don't have enough points to write a reply to the above answer by A.B. There is only one more step that you need to take if you want to install the application for all users under /opt:
You need to switch to the advanced mode and change the bundle pool folder to something like /opt/eclipse/.p2/pool. This is because when installing it with sudo, the installer chooses /root/.p2/pool by default for the bundle pool location, which can't be opened by your user. After that you should be able to open eclipse from your regular user. Hope this helps.