I need some help to set up the Eclipse Kepler 4.3 and Java JDK last version on Xubuntu, I whould like to do it by the command terminal. Which are the right commands?
First of all, you need to check whether you have java installed on your system. You can check by using the command:
If java is not installed, then you should install it by doing
Afterwards, download Eclipse from the download section of the official website (http://www.eclipse.org/downloads/). Remember to choose the correct package for your architecture (32bit or 64 bit). The package will have the name:
After you have downloaded the correct package, extract the eclipse.XX.YY.tar.gz using
switch to root user:
Copy the extracted folder to /opt
Create a desktop file and install it:
Copy the following to the eclipse.desktop file.
Run the following command to automatically install it in the unity:
Create a symlink in /usr/local/bin using
For an eclipse icon to be displayed in dash, eclipse icon can be added as
There' a bug that keeps the menu from working see https://bugs.launchpad.net/ubuntu/+source/unity-gtk-module/+bug/1208019
the work around is to change one line in the eclipse.desktop file Exec=eclipse to Exec=env UBUNTU_MENUPROXY= eclipse
Also I had to make the desktop executable before I did the desktop-file-install in order to make it work.
protected by Community♦ Mar 27 at 15:00
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?