Jump to content

Azureus error [Solved]


Scythe
 Share

Recommended Posts

I've installed Azureus 2.4 and attempt to run it via the command:

 

$ azureus

 

and it gives me this error:

[scythe@localhost ~]$ azureus
Starting Azureus...
Java exec not found in PATH, starting auto-search...
Java exec found in  /usr/java/jre1.5.0_06/bin/
Suitable java version found  [/usr/java/jre1.5.0_06/bin/java = 1.5.0_06]
Configuring environment...
Loading Azureus:
/usr/java/jre1.5.0_06/bin/java -Xms16m -Xmx128m -cp "/usr/local/bin/*.jar" -Djava.library.path="/usr/local/bin" -Dazureus.install.path="/usr/local/bin" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Azureus TERMINATED.

Edited by Scythe
Link to comment
Share on other sites

Is your Azureus installed from RPM, or from the generic tarball at Azureus place?

It seems that the needed swt.jar is either missing, or can't find some needed java binaries.

Place the directory /usr/java/jre1.5.0_06/bin/ at your path, like (after opening console):

$ export PATH="/usr/java/jre1.5.0_06/bin/"

Then, from the SAME console (because the export command lasts for as long as your terminal session is open), call the program

$ azureus

If it's working now, you just have to add the above export command to a system-wide startup script, so you won't have to type it everytime.

Another solution: Uninstall your java ( = delete the /usr/java/jre1.5.0_06 directory ) and install a Mandriva- specific RPM from here which will create all necessary scripts and symlinks for you.

By the way, on the above link you will also find an Azureus RPM, but if you tend to update it frequently, or you're using nightly beta jars, it's better to just extract the stock Azureus tarball somewhere at your user's directory (as if you're using the RPM you will need to run Azureus as root to upgrade).

Edited by scarecrow
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...