Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 01-03-2007, 11:21 PM   #1
Registered: Apr 2004
Location: DG,IL USA
Distribution: Mandriva Powerpack 2007
Posts: 42

Rep: Reputation: 15
Java & Azureus How To for Mandriva 2007

I've seen a few questions about getting Azureus working in Mandriva on some forums. I've also had problems with my bank's website and it turned out to be
that the version of Java that was shipped with powerpack is already outdated the version shipped was 1.5.0_8 the new is 1.5.0_10
So I've written a how to from the point of already having Java installed and trying to run the Mandriva RPM of Azureus,which is based on a Free version of Java called 1.4.2 Bouncycastle and really just doesn't work for most people.

If you've just installed Mandriva without Java or Azureus you can skip the first 10 steps and head right to the installation(s)

1. Open the MMC and do a search in installed software.
2. Search for Azureus and uninstall it.
3. Search for Java and uninstall all of it
4. Open a konsole su to root and launch konqueror as root.
5. Click on view and check the show hidden files.
6. Navigate to your home directory and delete the .azureus folder and the .java folder.
**Note do not send them to the trash instead click once to highlight then hit the Edit button and select Delete.
7. Navigate to /usr/java and delete any left over files/directories.
8. Go to /usr/lib and delete any left over Java folders
9. Go to /usr/bin and delete any Java executable/ shell script.
10.Go to /usr/lib mozilla-plugins and delete any symlink to the old java then go to /usr/lib/mozilla/firefox/plugins and do the same.

Once done close it out and go to and download the Linux RPM (self extracting file)
I downloaded it to /home/larry/Download/java
It should be jre1_5_0_10-linux-i586.rpm.bin

Now you can either follow the instructions here to finish installing java.

Or do what I did.
I opened a konsole and su'ed to root inside the /home/larry/download/java folder and issued the chmod a+x jre1_5_0_10-linux-i586.rpm.bin command
Next type ./jre-1_5_0-linux-i586-rpm.bin to start the building of the rpm. Accept at the prompt.
Then I simply right-clicked on the newly created rpm and choose open with Software Installer and entered my root password at the prompt.

If you did it my way go to step 2.

If you followed the directions on Sun's site do the next step
1. In the root console that was left open after issuing the install command and type konqueror.
Browse to /usr/java and highlight it then hit Edit Move File from the new box browse to /usr/lib or type it into the path and click ok.

2. Next while your in /usr/java right click scroll down to Actions open a terminal here. Since konqueror is root so will the terminal be no need to su first.
Type : ln -s /usr/lib/jre1_5_10 .

The reason I did this is two fold
1a. Mandriva's rpm installs java in /usr/lib so thats where I wanted the new java.
2a. Third party software such as Azureus downloaded from their homepage looks for java in /usr/java. Now you have a soft link already, it saves alot of headaches later.

3. Now in the terminal type cd /usr/lib/mozilla/plugins and type :
ln -s /usr/lib/jre1_5_0_10/plugin/i386/ns7/

3a. Optional but I like to copy the newly created link directly into my webbrowser(s) plugin folder(s) What i do is navigate my root konqueror to /usr/lib/mozilla/plugin and click on it once to highlight it and hit ctrl+c then navigate to /usr/lib/mozilla-firefox-1.5.08 or /plugin and hit ctrl+v to paste it in It's easier than cd'ing around in the terminal do the same if you use seamonkey.

4. Now close out all the open root konsoles and konqueror Launch your webbrowser and head to and hit the verify installation button to check your installation. If I haven't messed you up you should be greeted with : CONGRATULATIONS, you have the Latest version of Java!

Grats I hope !! now lets do Azureus.

1. Download the latest from

2. I created a new folder in home called apps to unzip azureus to.

3. After unzipping azureus navigate to that folder and inside it locate the azureus shell script. It looks like a text file but just says azureus and if you hold the mouse over it you will see azureus (3.1 KB) Shell Script at the bottom of konqueror.

4. right click on it and select open with any text editor you are familiar with.
Personally I have gedit installed It's clean and doesn't complain when I run gedit as root

4a. Now right at the top you will see
JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/"
#PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir

Change j2sdk1.4.2 to jre1_5_0_10 and save.

Notice the path Thats why I created the soft link earlier.. The less you change things the less likely you are to have problems later on.

5. Now if you are the only person that will be using Azureus then you can go ahead and run it and configure it .
Right click inside the folder scroll to Actions click on Open Terminal here and type ./azureus
Look at step 9 if you want it in your menu.

6. If you want to use it globally then you will need to do a few more steps. One open a konsole su to root and type konqueror.

7. Highlight the azureus folder and move it to /usr/lib the same way Java was moved earlier.

8. Now right click on the star and select menu editor then open the Internet box then open the File Transfer box.

9. Now click on file new item and type azureus in the new name box and hit ok

10.In Description type Azureus,
10a. in Comment type file transfer,
10b. in Command type the path to the azureus shell script (you can browse to it as well by clicking on the folder icon on the right.
Mine was '/home/larry/apps/azureus/azureus' if global it should be /usr/lib/azureus/azureus
10.c Now in work path type the path to the azureus folder or browse to it same as above.
Mine was /home/larry/apps/azureus if global it should be /usr/lib/azureus

11. Check the enable launch feedback box.

12. In the blank looking box to the right of Description and Comment click on that and browse to the azureus folder then click on the bluefrog azureus.png and save. Now you should be set to run Azureus from the menu.


azureus, java

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Sun java on Mandriva 2007 Waqas Ahsan Mandriva 3 03-25-2008 08:33 AM
Mandriva 2007 URPMI & Kiosk dinkle Mandriva 6 06-10-2007 08:02 AM
Mandriva 2007 Free & wusb54gv1 wireless adapter linuxgnube Linux - Wireless Networking 4 11-28-2006 03:41 PM
Mandriva 2007 - NVIDIA drivers & screen resolution shea1roh Mandriva 3 11-09-2006 01:45 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration