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 keeps crashing (bug report on azureus website) and I want it too be stable and usable which it isn’t currently.
To install Java 6 and the browser plugin for mozilla:
sudo apt-get install sun-java6-jre sun-java6-plugin[/code]
Replace old version of Java with new:
sudo update-java-alternatives -s java-6-sun[/code]
Tell your system to use Java 6:
[code lang=”bash”]sudo gedit /etc/jvm[/code]
then type this into the top of the file:[code lang=”bash”]
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
now test to make sure everything is running right:
[code lang=”bash”]java -version[/code]
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)[/code]
Download the latest version of Azureus from their website, I downloaded version [126.96.36.199] then extracted the Azuresus2.jar file from the download.
We are of course making the assumption that you have already installed Azureus from the Ubuntu repository. If not then best to do it now before following any more instructions.
I then renamed the originally installed Azureus.jar file and replaced it with the extracted Azuresus2.jar file.
sudo mv /usr/share/java/Azureus2.jar /usr/share/java/Azureus2.jar.old
# Making the assumption that the new Azureus2.jar file is in your home directory, use the following command.
sudo mv Azureus2.jar /usr/share/java
When you start up Azureus and click on Help then about, if you’ve followed the instructions correctly you should see the following.
Feel free to let me know if I’ve omitted something.