Eclipse installation
I'm working as a Web developer and I use Eclipse a lot as my IDE. Before you can use Eclipse, you must have Java installed in your system, here's how :
Now here's how to get Eclipse run on your system :
Technorati Tags: eclipse
- Go to Sun's website http://java.sun.com and select the Java JDK or JRE that you want. In my case downloaded j2sdk1.5_1.5.0 Update 7.
- Because I want to create a deb so first install the required packages :
sudo apt-get install fakeroot java-common
- And then create the deb file for the install
fakeroot make-jpkg jdk-1_5_0_07-linux-i586.bin
- Then install the deb file
sudo dpkg -i sun-j2sdk1.5_1.5.0+update07_i386.deb
- Now make Sun's Java the default by running this command and selecting it
sudo update-alternatives --config java
javac
Now here's how to get Eclipse run on your system :
- Download Eclipse from here
- Extract it to
/opt
withsudo tar xvfz eclipse-SDK-3.2-linux-gtk.tar.gz -C /opt
- Change owner of Eclipse directory with
sudo chmod -R yourname:yourname /opt/eclipse
- Start Eclipse with
/opt/eclipse/eclipse
- Right click at your chosen panel, select "Add New Item"
- Select Launcher and click "Add"
- At column Name, enter : Eclipse
- Select an image file for launcher from
/opt/eclipse
, select icon.xpm - At column Command, enter :
/opt/eclipse/eclipse
- Click "Close"
Technorati Tags: eclipse
1 comment:
To change the owner of the folder i used the "chown" command insted of "chmod". Otherwise great post.
Post a Comment