java and azureus
i use azureus frequently and all of a sudden it doesn't work today.
i get this error when i go to runn it Starting Azureus... Java exec found in PATH. Verifying... OOPS, you don't seem to have a valid JRE [java = Kaffe] 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_02/bin/ Suitable java version found [/usr/java/jre1.5.0_02/bin/java = 1.5.0_02] Configuring environment... Loading Azureus: /usr/java/jre1.5.0_02/bin/java -Xms16m -Xmx128m -cp "/home/arm/Bin/azureus/Azure us2.jar:/home/arm/Bin/azureus/swt.jar:/home/arm/Bin/azureus/swt-mozilla.jar:/hom e/arm/Bin/azureus/swt-pi.jar" -Djava.library.path="/home/arm/Bin/azureus" -Dazur eus.install.path="/home/arm/Bin/azureus" org.gudy.azureus2.ui.swt.Main '' changeLocale: no message properties for Locale 'English (United States)' (en_US) , using 'English (default)' ./azureus: line 107: 7989 Segmentation fault ${JAVA_PROGRAM_DIR}java -Xms1 6m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.in stall.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@" Azureus TERMINATED. mandriva LE 2005 kde 3.4 does anyone know how to fix this |
Do you get any errors if you run 'java -version' on there?
|
yeah
[root@my azureus]# java -version bash: java: command not found |
First off we should update your java to the latest version jre1.5.0_03 and see if this fixes your issue. You can find the latest version of the Sun Java runtime environment by following this link http://javashoplm.sun.com/ECom/docs/...actionId=noreg
Uninstall your previous jre before you install this one to make sure there won't be any conflicts. Second we should set your $JAVA_HOME to point to java so programs can easily find it in your path. This is very easy and requires creating a java.sh file with a few lines directing your shell to hava the java executable in your user path so you don't have to use the full path to the file (i.e. /usr/java/jre1.5.0_03/bin/java). To do this please run the following commands as root: touch /etc/profile.d/java.sh vim /etc/profile.d/java.sh write the following lines in that file: JAVA_HOME=/usr/java/jre1.5.0_03/ export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH now we need to make that executable so run this: chmod +x /etc/profile.d/java.sh Log out and log back in and run 'java -version' which should return something like this: $ java -version java version "1.5.0_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07) Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing) Now we have java properly installed. Hopefully the new version of java I had you install will correct your segfaulting issue with Azureus. Are you using the latest version of Azureus 2.3.0.2? If not I would recommend you download that from http://azureus.sf.net/ and replace your current version. |
All times are GMT -5. The time now is 05:55 PM. |