Jump to content

azureus [solved]


oldnoob
 Share

Recommended Posts

I am having trouble getting azureus working in mdv 2007.

I have have read a recent post with the same issue but I am still having java problems.

After failed attempt with urpmi azureus, I then downloaded it from sourceforge and got the following error:

 

Starting Azureus...

Java exec found in PATH. Verifying...

Suitable java version found [java = 1.4.2]

Configuring environment...

Loading Azureus:

java -Xms16m -Xmx128m -cp "/home/pete/azureus/Azureus2.jar:/home/pete/azureus/swt.jar" -Djava.library.path="/home/pete/azureus" -Dazureus.install.path="/home/pete/azureus" org.gudy.azureus2.ui.swt.Main ''

./azureus: line 112: 6886 Segmentation fault ${JAVA_PROGRAM_DIR}java -Xms16m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"

Azureus TERMINATED.

 

 

Then after modifing the script to point to my java directory:

 

#!/bin/bash

 

######## CONFIGURATION OPTIONS ########

JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex.

"/usr/java/jre1.5.0_10/bin/"

#PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir

#######################################

 

I get exactly the same error as above, which is confusing me as I have jre1.5.0_10 installed so why does it say:

Suitable java version found [java = 1.4.2]?

 

I did have trouble with getting java installed. initally java applets would not work in my browsers so in my ignorance I manually deleted the java folder and reinstalled. I had to use the --force option as it was saying it was already installed, but after that all works properly in my browsers. jre1.5.0_10 is the only version I have installed on my system so can anyone explain why azureus thinks it has detected java 1.4.2

Link to comment
Share on other sites

Open a console, and type in

java -version

What comes up?

 

Also, uncomment the second line of the startup script

 

#PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir

and change it appropriately:

PROGRAM_DIR="/home/pete/azureus"

Edited by scarecrow
Link to comment
Share on other sites

jjava -version returns:

ava version "1.4.2"

JamVM version 1.4.3

Copyright © 2003-2006 Robert Lougher <rob@lougher.org.uk>

 

changing the Program direcrory made no difference

 

Also after doing a search for java I located links for 1.4.2 on the followin places:

/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/

/usr/lib/jvm/java-1.4.2-jamvm-1.4.2.0/jre/bin/

Link to comment
Share on other sites

If I do have another java installed, I dont know where it is.

The only reference I found to 1.4.2 were sym links and when I right mouse click and go to properties to see where they point to the directory is ../../../../../../usr/bin/cij and ../../../../../../usr/bin/jamvm which when I type that into a location bar in konqueror just brings up a google page as if I had typed it into the search bar.

Am I missing something very simple here?

Link to comment
Share on other sites

Do a "urpmq j2re" in a root console.

You may also have installed "jamvm" opensource java virtual machine:

http://jamvm.sourceforge.net/

So, do also some "urpmq jamvm".

Remove any of the above if found.

 

For safety you should (IMHO) install java 5, as some program components (e.g. from openoffice) may not work properly with java 6.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...