SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.