LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-11-2005, 07:43 AM   #1
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Rep: Reputation: 30
Azureus error


Just downloaded and uncompressed Azureus (it doesn't require a compile and/or install). When I run it, here is what I get:
Code:
$ azureus&
[1] 516
Starting Azureus...
Java exec found in PATH. Verifying...
josh@initialize:~$ Suitable java version found [java = 1.5.0_01]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/usr/bin/*.jar" -Djava.library.path="/usr/bin" -Dazureus.install.path="/usr/bin" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Azureus TERMINATED.
So, of course, it doesn't even bother to open.

I haven't installed any JRE because Slackware 10.1 already has 1.5.0.01 installed (you can see in the error message that Azureus found it.) All I've done so far is move Azureus into /usr/local (since it was in my home folder after uncompressing.) Is there an extra step I need to take?

Thanks.
 
Old 04-11-2005, 08:02 AM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
looked at this? Linux Howto
 
Old 04-11-2005, 08:14 AM   #3
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Gay R0b0t
looked at this? Linux Howto
Yes, but it doesn't help much. JRE is already installed (and found), and GTK+2-2.6.1 is already installed too. I guess my problem is I don't really understand what the error message is trying to tell me, so I have no idea what needs to be fixed.
 
Old 04-11-2005, 12:15 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Seiken, how did you installed, did you create a separate folder for azureus? What's the bin file in /usr/bin, a symlink to azureus's startup script?
 
Old 04-11-2005, 01:43 PM   #5
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
I installed by downloading the .tar.bz2 file from the Azureus site on sourceforge to a "download" directory in my home directory. From that download directory, I uncompressed the file which created a new "azureus" directory in my "download" directory. I went in the "azureus" directory, and read "README.txt" which stated:
Code:
REQUIREMENTS:
Azureus requires Sun Java 1.4.x or newer to run.
JRE 1.5 (5.0 series) is highly recommended.
http://java.sun.com

RUNNING:
1. Extract the contents of this .tar.bz2 file.
2. Change to the 'azureus' directory where the files were extracted.
3. Start Azureus by running the script named 'azureus'; ex. "./azureus"

NOTE:
If you have the Java JRE installed somewhere unusual (or not in your PATH),
use the JAVA_PROGRAM_DIR option in the script.
So instead of running ./azureus, I did "cd .." and then moved that azureus directory to /usr/local/bin (maybe not the best spot, but it's where I have been recommended to install programs.) I then created a symlink in /usr/bin called "azureus" which goes to /usr/local/bin/azureus/azureus.

I am running JRE 1.5.0.1, and /usr/lib/java/bin and /usr/lib/java/jre/bin are both in my path. One thing I have noticed is there are no .jar files in /usr/bin. Might this all be because I'm running azureus from the symlink in /usr/bin instead of the actual file itself in /usr/local/bin/azureus? I would try it myself, but I'm at work right now... there ARE a few .jar files in /usr/local/bin/azureus.
 
Old 04-11-2005, 04:04 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yes, the problem is the symlink since the azureus script tries tu run the main Java class from the directory where it was run, in your case /usr/bin.
A solution would be to create a script like this:
Code:
#!/bin/sh
cd /usr/local/bin/azureus
./azureus
and put it on your /usr/bin.
You could also modify azureus startup script, but making the script i wrote above is easier.
 
Old 04-11-2005, 04:32 PM   #7
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Thank you. I will test it out when I get home.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Testing port 6881....NAT Error - error in Azureus dr_zayus69 Linux - Security 20 05-26-2006 01:52 PM
Azureus NAT Error... deac0ncho Mandriva 5 10-02-2005 04:11 AM
Error Installing Azureus PapaSmurf88 Mandriva 4 05-12-2005 06:07 PM
nat error in azureus rosscopeeko Linux - Software 4 12-30-2004 11:04 PM
Azureus error!!! cybervolkan Linux - Newbie 1 04-26-2004 10:52 AM


All times are GMT -5. The time now is 06:37 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