We usually get error while starting eclipse in fedora after installing from repository. This is caused due to incompatible JVM version. Here is how you install latest Eclipse and JDK
1. Make sure you remove all previous installation of Eclipse
sudo yum remove eclipse
sudo rm -Rf /usr/bin/eclipse2. Install JDK
<strong>sudo yum -y install java-*-openjdk java-*-openjdk-plugin</strong>3. Download Eclipse from Here
4. Uncompress the downloaded file
sudo tar -xvzf path_to_downloaded_eclipse -C /opt5. Add read permission to all files
sudo chmod -R +r /opt/eclipse6. Create Eclipse executable
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipseOpen it in your favourite text-editor (Vim, Nano, gedit)
sudo vim /usr/bin/eclipseadd the following and save
#!/bin/sh
export ECLIPSE_HOME=”/opt/eclipse”
$ECLIPSE_HOME/eclipse $*7. Create Launcher, open with your favourite text-editor (Vim, Nano, Gedit)
sudo /usr/share/applications/eclipse.desktopand add the following
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.2
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true8. Now you can launch Eclipse from Menu or typing eclipse in terminal
