Eclipse is a free, open source IDE (Integrated Development Environment) which supports multi-language software development. Eclipse was itself developed in Java and was initially use as Java IDE. However, Eclipse also handles PHP, COBOL, Python etc. Eclipse can also be extended with additional software components called plugins. Most of users who have just shifted to Linux from other operating system might find the software installation process tough in Linux. Here’s our complete tutorial to install and uninstall application in Fedora and in Ubuntu. Here’s a step by step guide to install Eclipse in Fedora. However, the process should work on other Linux distribution too.
First you need to install JDK in order for eclipse to run properly. Here’s how to install JDK in Fedora.
Download the Eclipse. There are various packages available. Download the package i.e suitable to you and your system. If you system is 32 bit, download the 32 bit package and if your system is 62 bit, download the 62 bit package. I am installing Eclipse IDE for Java EE Developers in my 32 bit Fedora 17 machine.
Extract Eclipse package:
As a root user, extract Eclipse package in opt by using the following command:
tar -xvzf eclipse-jee-indigo-SR2-linux-gtk.tar.gz -C /opt
Add permissions to all files:
Add permissions to the directory and files using:
chmod -R +r /opt/eclipse
Make Executable on /usr/bin/ path:
Go to /usr/bin by typing following command:
Create a file called eclipse, change permissions and add following line of codes in that file:
By doing this, you can just open Eclipse from the terminal by typing “eclipse”.
Add GUI Menu launcher:
Go to /usr/share/applications and create a file called eclipse.desktop using your favourite text editor.
Add the following content to the file and save it.
Now, you will be able to launch Eclipse from Menu. If you have any problem while installing Eclipse mention you problem as comment, I will get back to you instantly.