How To Install Java On Linux

First, there are many ways to do this on many different flavors of linux, the way I do it on "Ubuntu 7.10 - the Gutsy Gibbon - released in October 2007" is either by terminal or synaptic package manager like most linux flavors, you usually have these two ways, but keep in mind there are other ways such as source code. The first way i will go through is by Terminal.

Terminal:
To open a Terminal on this flavor goto Applications>Accessories>Terminal, in some cases you need to be root user. You do not need root in order to do this. However if you need it, in order to reset root password from a Terminal enter: “sudo passwd” (without the “'s). Moving on to java... in order to install java, you need he package file, so click this link: http://javadl.sun.com/webapps/download/AutoDL?BundleId=12791 or just visit java.com and download the Linux (self-extracting file). next in order to install it via Terminal we have to make sure its executable so we must change permissions, type: “chmod 0777 jre-6u3-linux-i586.bin” next we run it, type: “./jre-6u3-linux-i586.bin”. Next, read and accept the “License Agreement ”, next it will install the java package which is needed for many online games, etc. This way should work now, if it does not, type “ln -s /jre1.6.0_02/plugin/i386/ns7/libjavaplugin.so / /home/slick/lib/opera/plugins/” to insure that the plugin is linked so that it can be accessed and ran.

Synaptic Package Manager:
To open Synaptic on this flavor goto System>Administration>Synaptic Package Manager. Now if you are asked, enter root password, next hit the search button. Now type: “sun-java6-jre” without quotes of course. next it should display a few choices, but choose sun-java6-jre, click the check box next to it and click mark for installation. Now, click OK if it says more files will needed to be downloaded, and then click Apply. Then all thats left to do is wait for it to finish, then you should be set to go.

Source code:
I have not successfully done this by source code, if i do in the future i will add it.

Be sure to ask any questions if related!

Test Left

Test

User login