PDA

View Full Version : [ubuntu] Installing the Latest Java...



chome4
May 25th, 2010, 11:12 PM
Is there an easier way of installing the latest version of Java than this:



Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586.bin
Verify that you have permission to execute the file. Type:
ls -l


http://www.java.com/en/img/download/linux_image2.gif



Change to the directory in which you want to install. Type:
cd <directory path name>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/

Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the Java in your home directory or a subdirectory for which you have write permissions.



Run the self-extracting binary Type:
./jre-6u<version>-linux-i586.bin

The license agreement is displayed. Review the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
Java is installed into its own directory. In this example, it is installed in the /usr/java/jre1.6.0_<version> directory. When the installation has completed, you will see the word Done.

================================================== ===

Is there a location I can download and run the deb version?

cavh
May 25th, 2010, 11:20 PM
Applications => Ubuntu Software Centre => Get Free Software => Other => Ubuntu restricted extras.

See screenshot attached.

HTH,

Clive

chome4
May 25th, 2010, 11:28 PM
Under 'Applications' I don't have 'Ubuntu Software Centre'

clhsharky
May 25th, 2010, 11:32 PM
chome4


http://sites.google.com/site/easylinuxtipsproject/java

Sharky

chome4
May 26th, 2010, 01:12 AM
Thank you.