LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-06-2005, 09:36 PM   #1
aRm1983
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake LE2005
Posts: 24

Rep: Reputation: 15
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
 
Old 06-07-2005, 02:35 PM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
Do you get any errors if you run 'java -version' on there?
 
Old 06-07-2005, 06:54 PM   #3
aRm1983
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake LE2005
Posts: 24

Original Poster
Rep: Reputation: 15
yeah

[root@my azureus]# java -version
bash: java: command not found
 
Old 06-08-2005, 10:52 AM   #4
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Azureus and Java peterman9898 Linux - Software 1 11-19-2005 02:59 AM
Azureus Java issues dreakon Suse/Novell 1 10-03-2005 09:55 AM
azureus or java problem? wezhousheng Linux - Software 3 09-16-2005 07:08 AM
java and azureus aRm1983 Mandriva 2 06-06-2005 10:03 PM
java/azureus problems mikeyuk Linux - Software 1 03-25-2005 06:57 AM


All times are GMT -5. The time now is 02:46 AM.

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