oldnoob Posted December 23, 2006 Report Share Posted December 23, 2006 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 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 23, 2006 Report Share Posted December 23, 2006 (edited) 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 December 23, 2006 by scarecrow Quote Link to comment Share on other sites More sharing options...
oldnoob Posted December 23, 2006 Author Report Share Posted December 23, 2006 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/ Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 23, 2006 Report Share Posted December 23, 2006 So, you do have two java versions installed globally. Remove one of them. You can also remove both, and then use the mandrivaclub.nl RPM- you can pick either the java 5 or java 6 RPM's: ftp://ftp.belnet.be/mirror/urpmidev.mandr...b.nl/2007/i586/ Quote Link to comment Share on other sites More sharing options...
oldnoob Posted December 23, 2006 Author Report Share Posted December 23, 2006 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? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 23, 2006 Report Share Posted December 23, 2006 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. Quote Link to comment Share on other sites More sharing options...
oldnoob Posted December 24, 2006 Author Report Share Posted December 24, 2006 Thanks, that got it working. Just removed jamvm from /usr/bin/ & /usr/share/ and now azureus picks up the java 1.5.0-10 that I installed yesterday. Thanks again and merry xmas Pete Quote Link to comment Share on other sites More sharing options...
dexter11 Posted December 24, 2006 Report Share Posted December 24, 2006 (edited) Just removed jamvm from /usr/bin/ & /usr/share/ You should have removed it with the package manager. Edited December 24, 2006 by dexter11 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.