64 Bit Azureus BitTorrent Client with 64 Bit JREPosted by Hodge on Apr 30, 2008 in Ubuntu, Web Development • 2 comments •
I love the fact that a huge amount of the applications I regularly use are available via the package manager, but sometimes, I like to install applications myself. Azureus is one such application – I wanted to install the latest x64 version, and utilise the x64 JRE I had installed for the x64 Eclipse IDE. Of course, it can easily be installed by running
sudo apt-get install azureus
(in Ubuntu) and everything is done automatically. But, this is how I installed it.
I had already installed x64 JRE (see 64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin)), but for the benefit of those who haven’t, don’t want to read that particular article, or just can’t be arsed scanning through it, here’s the procedure again (skip to —END x64 JRE INSTALL— if you don’t want to read this part!)
The 64 Bit JRE can be downloaded here. After the file downloaded to my desktop, I opened up a new Terminal Window (Applications -> Accessories -> Terminal), traversed to the directory I wanted to install it into, moved the file, made it executable, and ran it to install:
sudo mkdir java
sudo mv ~/Desktop/jre-6u12-linux-x64.bin /opt/java
sudo chmod 755 /opt/java/jre-6u12-linux-x64.bin
Listing the directory
which is the directory containing the necessary Java binaries.
—END x64 JRE INSTALL—
The 64 Bit version of Azureus (currently v220.127.116.11) can be downloaded here. Once the archive had downloaded to my desktop, I unpacked it:
tar -xjvf Azureus_18.104.22.168_linux-x86_64.tar.bz2
As usual, I like to put applications (which don’t need compiling and installing) into /opt
sudo mv azureus /opt
Within the /opt/azureus folder, is a shell script for running the Azureus client called, funnily enough, azureus. However, to get it working with the 64 Bit JRE I had installed, I had to make a couple of minor adjustments to the script:
gksu gedit azureus
Line 5 contains a variable for the Java program directory:
so, I simply inserted the path to the JRE bin directory:
saved the script, and closed the editor. I can now run the Azureus client by running this script:
Alternatively, it can be run from the Applications menu by creating an entry pointing to /opt/azureus/azureus – open System -> Preferences -> Main Menu, highlight “Internet”, and click “New Item”. Enter “Azureus” for the name, /opt/azureus/azureus for the Command, and change the icon to the Azureus logo by clicking on the Icon, and browsing to /opt/azureus/azureus, which will automatically list the images in the folder to choose from.