This question already has an answer here:

I am getting older version of Eclipse when I install it from terminal, which is fine for C/C++ code, but I want to use java, basically for spring and maven, so I want a newer version.

marked as duplicate by muru, Pilot6, Zanna, user364819, Eric Carvalho Jul 19 '17 at 16:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Download and install it from http://eclipse.org.

Here is the link to all different versions of eclipse. You just have to extract and run it.

My instruction is:

  1. Download it
  2. Extract it in /opt

    sudo tar -xf /path/to/file -C /opt
  3. Create a link to its binary

    sudo ln -s /opt/eclipse/eclipse /usr/local/bin

latest eclipse(oxygen) is not available in Ubuntu repos(for 16.04 i think).You need to download it from here :- https://www.eclipse.org/

You can extract it anywhere but I suggest you to extract it in /opt.

   sudo tar -xvzf eclipse-cpp-oxygen-R-linux-gtk-x86_64.tar.gz -C /opt

note:- the name eclipse-cpp-oxygen-R-linux-gtk-x86_64.tar.gz can be different in your case.

then you need to make .desktop file which is shown here:- Create a .desktop file that opens and execute a command in a terminal


you can install eclipse by sudo apt install eclipse and then upgrade to latest version from eclipse.

Source:- https://www.unixmen.com/install-eclipse-luna-ide-centos-7-rhel-7/


Not the answer you're looking for? Browse other questions tagged or ask your own question.