Community Forums

Home » Vuze Forums » Community Open Support


Thread: Azureus update to 4.0.0.4 instacrash, ubuntu 8.10 jvm 1.6


Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 3. Correct answers available: 1.

Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Pages: 1 - Last Post: Sep 10, 2011 2:37 PM Last Post By: rylytu
survient

Posts: 24
Registered: 01/09/08
Azureus update to 4.0.0.4 instacrash, ubuntu 8.10 jvm 1.6
Posted: Nov 21, 2008 6:34 AM
 
Click to report abuse...
running azureus, whenever I ran the updater it refused to run so I tried manually replacing the Azureus2.jar and swt.jar files with the updated versions, along with the binary script in my /usr/bin/ folder. He're what I get when I try to run from terminal:

Starting Azureus...
Suitable java version found http://java = 1.6.0_0
Configuring environment...
Java exec found in PATH. Verifying...
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/platform/unix/ScriptBeforeStartup
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.platform.unix.ScriptBeforeStartup
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.platform.unix.ScriptBeforeStartup. Program will exit.
Loading Azureus:
java -Xmx128m -cp "./*.jar" -Djava.library.path="/usr/bin" -Dazureus.install.path="/usr/bin" -Dazureus.script="/usr/bin/azureus" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.ui.swt.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.ui.swt.Main. Program will exit.
Exit from Azureus complete
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/platform/unix/ScriptAfterShutdown
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.platform.unix.ScriptAfterShutdown
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.platform.unix.ScriptAfterShutdown. Program will exit.
Azureus TERMINATED.
behe@behemoth:~/.azureus$ sudo ln -s /home/behe/.azureus/azureus /usr/bin/azureus
ln: creating symbolic link `/usr/bin/azureus': File exists
behe@behemoth:~/.azureus$ sudo rm /usr/bin/azureus
behe@behemoth:~/.azureus$ sudo ln -s /home/behe/.azureus/azureus /usr/bin/azureus
behe@behemoth:~/.azureus$ azureus
Starting Azureus...
Suitable java version found http://java = 1.6.0_0
Configuring environment...
Java exec found in PATH. Verifying...
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/platform/unix/ScriptBeforeStartup
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.platform.unix.ScriptBeforeStartup
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.platform.unix.ScriptBeforeStartup. Program will exit.
Loading Azureus:
java -Xmx128m -cp "./*.jar" -Djava.library.path="/usr/bin" -Dazureus.install.path="/usr/bin" -Dazureus.script="/usr/bin/azureus" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.ui.swt.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.ui.swt.Main. Program will exit.
Exit from Azureus complete
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/platform/unix/ScriptAfterShutdown
Caused by: java.lang.ClassNotFoundException: org.gudy.azureus2.platform.unix.ScriptAfterShutdown
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.gudy.azureus2.platform.unix.ScriptAfterShutdown. Program will exit.
Azureus TERMINATED.
dodongo

Posts: 1
Registered: 01/03/09
Re: Azureus update to 4.0.0.4 instacrash, ubuntu 8.10 jvm 1.6
Posted: Jan 3, 2009 2:29 PM   in response to: survient in response to: survient
 
Click to report abuse...
Gotcha. What you need to do is change the azureus script a little bit...

-Uncomment line 6, which starts #PROGRAM_DIR (delete the # at the start of the line)
-Change the quoted path after the = to wherever you've installed azureus

Mine looks like this:

PROGRAM_DIR="/opt/vuze/" # use full path to Azureus bin dir

That should do the trick.

rylytu

Posts: 1
Registered: 09/10/11
Re: Azureus update to 4.0.0.4 instacrash, ubuntu 8.10 jvm 1.6
Posted: Sep 10, 2011 2:37 PM   in response to: survient in response to: survient
 
Click to report abuse...
The above user was close to helping, for me. I realized Vuze would start up with "sudo vuze", so the files must be correctly linking, but must not be accessible. A little chmod fixed it for me. I didn't even have to un-comment the DIR line in the start-up script. Hope this helps someone (even though this thread was started in 2009...)
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums