Azureus keeps crashing on Ubuntu Feisty and how to fix

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:

[code lang=”bash”]
sudo apt-get install sun-java6-jre sun-java6-plugin[/code]

Replace old version of Java with new:

[code lang=”bash”]
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”]
/usr/lib/jvm/java-6-sun[/code]

save file and close it

File should look similar to this:

[code lang=”bash”]

# 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

[/code]

now test to make sure everything is running right:
[code lang=”bash”]java -version[/code]

You should see this:

[code lang=”bash”]
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 [2.5.0.4] then extracted the Azuresus2.jar file from the download.

Azureus installation file

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.

[code lang=”bash”]
sudo mv /usr/share/java/Azureus2.jar /usr/share/java/Azureus2.jar.old

[/code]
[code lang=”bash”]

# 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
[/code]

When you start up Azureus and click on Help then about, if you’ve followed the instructions correctly you should see the following.

Azureus About

Feel free to let me know if I’ve omitted something.

One thought on “Azureus keeps crashing on Ubuntu Feisty and how to fix

  1. Would you mind including a timestamp of when you wrote this? I find it very helpful with these types of step by step, install date specific things.

    Thanks!

Leave a Reply