mini_banner
Showing posts with label jre 6. Show all posts
Showing posts with label jre 6. Show all posts

Tuesday, May 15, 2007

Installing Java Runtime Environment 6 in Feisty

This works for anyone running Ubuntu 7.04 Feisty Fawn, not just for Dell Inspiron 1501 users.

If you want to use the newest Java applications, you need to get Java 6. If you have Java 5 installed and running Azureus from fesity repos be warned that it doesn't play nice with Java 6. But the reason I moved to Java 6 is to install newest version on Azureus, the one in the repos bugs me and the newer one has added functionality and stability.

To install Java 6 and the browser plugin for mozilla:
sudo apt-get install sun-java6-jre sun-java6-plugin

Replace old version of Java with new:
sudo update-java-alternatives -s java-6-sun

Tell your system to use Java 6:
sudo gedit /etc/jvm

Then type this into the top of the file:
/usr/lib/jvm/java-6-sun
save file and close it

File should look similar to this:
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr

Now test to make sure everything is running right:
java -version

You should see this:
java version “1.6.0″ Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Now your running the latest version of Java and able to run the newest version of Azureus.
edited by pHreaksYcle