Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    Pakistan
    Posts
    18

    Can't get azureus to run


    I can't get azureus to run, even though I've installled Java again and again. It still gives this mesage
    Starting Azureus...
    Java exec found in PATH. Verifying...
    OOPS, you don't seem to have a valid JRE [java = Error]
    You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
    Java exec found in /usr/java/jre1.5.0_04/bin/
    OOPS, you don't seem to have a valid JRE [/usr/java/jre1.5.0_04/bin/java = Error]
    You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
    Anybody knows whats up?

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Location
    .nl
    Posts
    70
    you need a different version of Java... (btw. not from sun)

    this guide will help..

    http://stanton-finley.net/fedora_cor...otes.html#java

  3. #3
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,120
    First download jre-1_5_0_04-linux-i586.bin(JRE 5.0 Update 4):
    http://java.sun.com/j2se/1.5.0/download.jsp

    As root:
    sh jre-1_5_0_04-linux-i586.bin
    mkdir /usr/java
    mv jre1.5.0_04/ /usr/java/
    chown -R root:root /usr/java/jre1.5.0_04/
    ln -s /usr/java/jre1.5.0_04/bin/java /usr/bin/java
    ln -s /usr/java/jre1.5.0_04/bin/java_vm /usr/bin/java_vm


    Edit /etc/bash.bashrc and add
    Code:
     
    JAVA_HOME=/usr/java/jre1.5.0_04
    export JAVA_HOME
    PATH=$PATH:$JAVA_HOME/bin
    export PATH
    Now type ...
    java -version
    ...and it should show:
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
    (at this point Azureus will work)

    For Mozilla:
    ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
    ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/


    Now everything(also Azureus) should work.

    PS: Based on an old Ubuntu howto (they now have apt packages and removed this part in their guide) but still works for Debian (tried it myself).

  4. $spacer_open
    $spacer_close
  5. #4
    Quote Originally Posted by jens
    PS: Based on an old Ubuntu howto (they now have apt packages and removed this part in their guide) but still works for Debian (tried it myself).
    I am not sure what sites they have but I add to my /etc/apt/sources.list
    Code:
    deb ftp://ftp.tux.org/java/debian/ testing non-free
    then when you install azureus, it will install java too.
    Brilliant Mediocrity - Making Failure Look Good

  6. #5
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,120
    Sure, but you don't mind using unstable either
    I only add single backports to my sources.list (as far as I know, they don't support Sun's Java)...
    (I'd like to keep this box as stable as possible)

  7. #6
    Just Joined!
    Join Date
    Jul 2005
    Location
    Pakistan
    Posts
    18
    Thanks for the help guys. I wasn't visiting the forums for a while, but while I was searching around, I found out that if I installed the .bin package on Sun's site, it worked. Earlier I was using alien to conert the Java .rpm package.

    thanks for the help on the Mozilla integration.

    By the way, why should I not install from Sun's site? x|

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •