I installed Ubuntu 15.04 on the VM and I have downloaded Eclipse Luna.
When I try to install it, this error occurs:
An error has occurred.
See the log file/home/master/.eclipse/1473617060_linux_gtk_x86_64/configuration/1442224462970.log
Can you help me to fix it? Thanks
22 Answers
You can also use ubuntu-make to easily install Eclipse on Ubuntu.
Ubuntu Make is a command line tool which allows you to download the latest version of popular developer tools on your installation, installing it longside all the required dependencies (which will only ask for root access if you don't have all the required dependencies installed already), enable multi-arch on your system if you are on a 64 bit machine, integrate it with the Unity launcher… Basically, one command to get your system ready to develop with! - Ubuntu Wiki
Installing Ubuntu Make :
Ubuntu make is already in official Ubuntu 15.04 repositories, run :
sudo apt-get install ubuntu-makeInstalling Eclipse :
umake ide eclipse 2 Update
Instead using the next steps, you could also use the new Eclipse Installer, and have a look at this answer.
Check your Java installation with
java -versionyou should see something like this
java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Server VM (build 25.60-b23, mixed mode)If necessary install Java
sudo apt-get install openjdk-8-jdkRemove your Eclipse installation
Download a newer version of eclipse here, eg. Eclipse IDE for Java EE Developers 64-bit.
Extract the archive
Replace the filename id necessary
sudo tar xf eclipse-jee-mars-R-linux-gtk-x86_64.tar.gz -C /optCreate a desktop file
nano ~/.local/share/applications/eclipse.desktopand add the configuration below
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Eclipse JEE Comment=Eclipse Integrated Development Environment Icon=eclipse Exec=/opt/eclipse/eclipse StartupNotify=true StartupWMClass=Eclipse-JEE12 Oct 2015 - Update with regards to eclipse.desktop: The value for
iconin eclipse.desktop should be path toicon.xpminstead of justeclipse. In my case, the absolute path was/opt/eclipse/icon.xpm.Start eclipse via your launcher
Tested in 15.04 as VM and in a native 15.04 installation.
1