Before installing eclipse IDE you need to check few things.
First, check whether you have Java installed or not. For that you need to run following command in your terminal
hduser@archana:~$ java -version
If you get the java version as a output that means you have java otherwise u need to install java.
Or
you can also use- right click on eclipse-jee-kepler-R-linux-gtk.tar.gz and chose extract here option.
and copy the following to the eclipse.desktop file
hduser@archana:~$ sudo ln -s /opt/eclipse/eclipse
First, check whether you have Java installed or not. For that you need to run following command in your terminal
hduser@archana:~$ java -version
If you get the java version as a output that means you have java otherwise u need to install java.
- First download the eclipse tar.gz package from here
- Use the below command line to extract the tar.gz package.
Or
you can also use- right click on eclipse-jee-kepler-R-linux-gtk.tar.gz and chose extract here option.
- Move the extracted eclipse in the /opt/ folder.
- Create a desktop file and place it into /usr/share/applications
and copy the following to the eclipse.desktop file
| [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.desktop |
- Create a symlink in /usr/local/bin using
hduser@archana:~$ sudo ln -s /opt/eclipse/eclipse
- Now goto /usr/share/applications and find eclipse.desktop file for launching eclipse , you can drag this file to the launcher.
- Start Eclipse
No comments:
Post a Comment