To install eclipse on liux (or any other operating system) it will ask for java runtime so before installing Eclipse first we have to istall jre on Linux machine the detail steps are as follow.
To install jre on Linux (self-extracting) file Follow these instructions:
1. If you are login with another user (other than root), At the terminal, Type
su
2. Enter the root password.
3. Change path to the directory in which you want to install, like I install in /usr/java,
cd /usr/java/
To make the file executable change the permission by following command,
chmod a+x jre-6u
4. Verify that you have permission to execute the file. Type
ls -l
see Figure "A"
5. To start the installation process Type,
./jre-6u
this displays a binary license agreement. Go through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation. see Figure "B"
6. Java is installed into its own directory. In this case, it have installed in the /usr/java/jre-6u14-linux-i586 directory. When the installation has completed, you will see the word Done. see figure "C"
7. Java is installed in jre-6u14-linux-i586 sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre-6u14-linux-i586 directory. Verify that the jre-6u14-linux-i586 sub-directory is listed under the current directory. Type:
ls see Figure "D"
The installation is now complete.
To install the Linux RPM (self-extracting) file Follow these instructions:
1. Change to the directory in which you want to install. I have installed in /usr/java/ directory,
cd /usr/java
Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u14-linux-i586-rpm.bin
2. Start the installation process. Type:
./ jre-6u14-linux-i586-rpm.bin
This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
3. The installation file creates jre-6u14-linux-i586-rpm file in the current directory. see figure "E".
4. Run the RPM command at the terminal to install the packages for confirmation sometime it will display you a message “already installed”.
rpm -iv jre-6u14-linux-i586-rpm
5. Java is installed in jre-6u14-linux-i586-rpm sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre-6u14-linux-i586-rpm directory. Verify that the jre-6u14-linux-i586-rpm sub-directory is listed under the current directory. Type:
ls see Figure "F".
The installation is now complete. The version number can be different depends on the version number you have downloaded.
Enable and Configure
Mozilla 1.4 and later
1. Go to the plugins sub-directory under the Mozilla installation directory
cd usr/lib/Mozilla-1.4/plugins
2. In the current directory, create a symbolic link to Java ns7/libjavaplugin_oji.so file Type:
ln -s
Example:
o If Mozilla is installed in this directory:
/usr/lib/mozilla-1.4/
o and if the Java is installed at this directory:
/usr/java/jre 6u14
o Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/mozilla-1.4/plugins
o Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre 6u14/plugin/i386/ns7
/libjavaplugin_oji.so.
3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
4. Go to Edit > Preferences. Under Advanced category > Select Enable Java
Eclipse Installation
1. First step is to direct the path where we want to install the application like in my case i have install in
cd /usr/eclipse
2. Second step is to decompree and then extract the data so one command for both is
tar zxvf eclipse-jee-ganymede-SR2-linux-gtk.tar
3. Now its ready to use just go to that directory where you have install like i have done
cd /usr/eclipse/eclipse
and then enter now enter the following command
./eclipse
5 comments:
Cool, so finally you started posting Linux stuff :D i am glade !
cheers
Good man , its very nice...
@Nayyar.....sir g it is the start agee agee dekeye hota hai kya ap ka cheela (student) app ka naam kitna roshan karta hai.
@suif...thnx man i just wanted to share my experience with all friends.
Il semble que vous soyez un expert dans ce domaine, vos remarques sont tres interessantes, merci.
- Daniel
vans shoes, beats by dre, ghd, lancel, herve leger, new balance, ray ban, ralph lauren, abercrombie and fitch, celine handbags, north face outlet, birkin bag, louboutin, chi flat iron, soccer jerseys, nike air max, ferragamo shoes, mont blanc, insanity workout, hollister, jimmy choo shoes, nfl jerseys, soccer shoes, nike huarache, nike air max, nike roshe, wedding dresses, instyler, iphone cases, p90x workout, timberland boots, reebok shoes, mcm handbags, gucci, oakley, hollister, asics running shoes, valentino shoes, longchamp, converse, vans, converse outlet, baseball bats, hollister, north face outlet, bottega veneta, lululemon, babyliss, mac cosmetics, nike trainers
Post a Comment