Install the latest Eclipse in Ubuntu

This article shows you the way to install the latest version of Eclipse in Ubuntu. If you do not have Java in your system, follow this link and install the Java first.


Step 1:
Download the desired version of Eclipse from this link.

Step 2:
Open the Terminal (Ctrl + Alt + T) and enter the following command to change the directory.
cd /opt

Step 3:
Enter the command given below to extract the Eclipse from ~/Downloads directory. If your downloaded file is in any other directory, replace the last parameter by the actual file path.
sudo tar -xvzf ~/Downloads/eclipse-jee-mars-R-linux-gtk-x86_64.tar.gz

Step 4:
Open another Terminal (Ctrl + Alt + T) and enter the following command to create a shortcut file for eclipse.
gedit eclipse.desktop

Step 5:
In the opened gedit, copy and paste the following text.
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
Name[en_US]=Eclipse

Step 6:
Save and close the gedit.

Step 7:
Enter the following command in the terminal to install the shortcut.
sudo desktop-file-install eclipse.desktop

Now search for Eclipse in the dashboard and open it.


Fix for unreadable tooltips
In Ubuntu, the default tooltip background is black, which makes it unreadable in Eclipse. To fix this problem, follow these steps.

Step 1:
Enter the following commands one by one, in a Terminal
sudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
sudo gedit /usr/share/themes/Ambiance/gtk-3.0/settings.ini
sudo gedit /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css

Change the values of tooltip_fg_color and tooltip_bg_color in all the files, to the following values and save the changes.
tooltip_fg_color:#000000
tooltip_bg_color:#f5f5c5

Step 2:
Restart the Eclipse.
Previous
Next Post »

1 comments:

Write comments
Javier Martínez
AUTHOR
April 5, 2016 at 1:01 PM delete

How unisntall whit complements?

Reply
avatar

Contact Form

Name

Email *

Message *