dexter11 Posted September 13, 2005 Share Posted September 13, 2005 OS: Mandriva 2006 RC1 cleanly installed. I have downloaded the java jre rpm and installed it succesfully. Downloaded Azureus (Linux GTK) unpacked it and copied to /usr/azureus. Made a link with ln -s /usr/azureus/azureus /usr/bin/azureus Now if I just type azureus then this happens: a@localhost Desktop]$ azureusStarting Azureus... Java exec found in PATH. Verifying... Suitable java version found [java = 1.5.0_04] 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. If I start /usr/azureus/azureus then it works perfectly. Anyone tell me why? Link to comment Share on other sites More sharing options...
ianw1974 Posted September 13, 2005 Share Posted September 13, 2005 From what I can see you have a line which is failing because of java. The line is: java -Xms16m -Xmx128m -cp "/usr/bin/*.jar" -Djava.library.path="/usr/bin" -Dazureus.install.path="/usr/bin" from your text above. The most interesting bit is "-Dazureus.install.path="/usr/bin" This leads me to think it's looking for azureus in /usr/bin, instead of /usr/azureus/azureus. Not sure how you'd change that though. If you run it from the CLI typing /usr/azureus/azureus, does this install.path change to /usr/azureus/azureus? That would possibly highlight a slight issue with the symlink. Link to comment Share on other sites More sharing options...
dexter11 Posted September 13, 2005 Author Share Posted September 13, 2005 ba@localhost Desktop]$ /usr/azureus/azureusStarting Azureus... Java exec found in PATH. Verifying... Suitable java version found [java = 1.5.0_04] Configuring environment... Loading Azureus: java -Xms16m -Xmx128m -cp "/usr/azureus/Azureus2.jar:/usr/azureus/swt.jar:/usr/azureus/swt-mozilla.jar:/usr/azureus/swt-pi.jar" -Djava.library.path="/usr/azureus" -Dazureus.install.path="/usr/azureus" org.gudy.azureus2.ui.swt.Main '' It does, how should I link it so it will be in the PATH. Link to comment Share on other sites More sharing options...
pmpatrick Posted September 13, 2005 Share Posted September 13, 2005 Add it to PATH in /home/<username>/.bash_profile. The edit would look like this: PATH=$PATH:/usr/azureus/azureus Just look for the above line. There may be other additions to your PATH line; the path to java/bin is frequently stuck in there. Just put ":/usr/azureus/azureus" w/o quotes at the end of the line. Link to comment Share on other sites More sharing options...
dexter11 Posted September 13, 2005 Author Share Posted September 13, 2005 Guess it will work only after reboot. I made an "export PATH" but it didn't help. If anyone could tell me how to link it to /usr/bin I'd appreciate it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now