vuze wont start

Bug #543366 reported by Fernando Miguel
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Debian
Unknown
Unknown
azureus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: azureus

$ vuze
[warning] /usr/bin/vuze: Unable to locate swt in /usr/share/java
file:/usr/lib/jni/ ; file:/usr/lib/java/ ; file:/usr/share/java/Azureus2.jar ; file:/usr/share/java/log4j-1.2-1.2.15.jar ; file:/usr/share/java/commons-cli-1.2.jar ; file:/home/bugabundo/
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:229)
 at org.gudy.azureus2.ui.common.Main.main(Main.java:132)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
 at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Shell
 at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:111)
 at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:88)
 at org.gudy.azureus2.ui.swt.Main.main(Main.java:255)
 ... 12 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Shell
 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:321)
 at com.aelitis.azureus.launcher.classloading.PrimaryClassloader.loadClass(PrimaryClassloader.java:103)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
 ... 15 more
Start fails:
com.aelitis.azureus.core.AzureusCoreException: Azureus core already instantiated
 at com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:120)
 at com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
 at org.gudy.azureus2.ui.common.Main.main(Main.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
 at java.lang.Thread.run(Thread.java:636)

$ apt-cache policy vuze
vuze:
  Installed: 4.3.0.6-1
  Candidate: 4.3.0.6-1
  Version table:
 *** 4.3.0.6-1 0
        500 http://mirrors.fe.up.pt/pub/ubuntu/ lucid/universe Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

$ apt-cache policy sun-java6-bin
sun-java6-bin:
  Installed: 6.18-2
  Candidate: 6.18-2
  Version table:
 *** 6.18-2 0
        500 http://archive.canonical.com/ubuntu/ lucid/partner Packages
        100 /var/lib/dpkg/status

$ apt-cache policy openjdk-6-jre
openjdk-6-jre:
  Installed: 6b18~pre2-1ubuntu1
  Candidate: 6b18~pre2-1ubuntu1
  Version table:
 *** 6b18~pre2-1ubuntu1 0
        500 http://mirrors.fe.up.pt/pub/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
Date: Sun Mar 21 12:10:55 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091130)
NonfreeKernelModules: nvidia
Package: vuze 4.3.0.6-1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: azureus
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Allan Nordhøy (comradekingu) wrote :

Azureus/vuze looks for the symbolic link swt.jar in /usr/share/java which should point to the current version in that directory.
At present this is swt-gtk-3.5.1.jar, but the link is missing, so it isn't found. Thus, it refuses to start.
Navigate to the directory "cd /usr/share/java" and create the link "sudo ln -s swt-gtk-3.5.1.jar swt.jar"

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

@kingu thanks for looking into this, and provinding an workaround.
This is a packaging bug, that in the mean time was fixed.

:/usr/share/java$ ls
total 14M
-rw-r--r-- 1 root root 13M 2010-02-15 18:25 Azureus2.jar
-rw-r--r-- 1 root root 35K 2009-10-30 08:21 commons-cli-1.2.jar
lrwxrwxrwx 1 root root 19 2010-02-07 16:09 commons-cli.jar -> commons-cli-1.2.jar
-rw-r--r-- 1 root root 253K 2009-10-20 10:29 commons-lang-2.4.jar
lrwxrwxrwx 1 root root 20 2010-02-07 16:09 commons-lang.jar -> commons-lang-2.4.jar
-rw-r--r-- 1 root root 439K 2009-11-23 22:38 gnome-java-bridge.jar
-rw-r--r-- 1 root root 2.6K 2010-03-05 04:59 libintl.jar
-rw-r--r-- 1 root root 362K 2010-02-16 11:09 log4j-1.2-1.2.15.jar
lrwxrwxrwx 1 root root 20 2010-02-16 17:47 log4j-1.2.jar -> log4j-1.2-1.2.15.jar
drwxr-xr-x 2 root root 4.0K 2010-03-26 14:54 openoffice/
lrwxrwxrwx 1 root root 32 2010-03-23 22:49 swt-gtk-3.5.1.jar -> ../../lib/java/swt-gtk-3.5.1.jar
lrwxrwxrwx 1 root root 17 2010-03-23 22:49 swt.jar -> swt-gtk-3.5.1.jar

Changed in azureus (Ubuntu):
status: New → Fix Released
Revision history for this message
bgruber (bgruber) wrote :

there is no fix released for this, and the bug is actually in another package.

Changed in azureus (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
OzzyFrank (ubuntu-ozzyfrank) wrote :

Hey kingu, thanks for that fix! All I was getting was a short burst of hard drive activity since upgrading to 10.04. Tried a quick reinstall to no avail, so many thanks once again. Now I'm happily downloading that film clip of a favourite band that finally has some seeders! Cheers

Revision history for this message
Ralph (ralphevers) wrote :

I had I think almost the same bug as described above:

Here's my paste: http://paste.ubuntu.com/429583/
And here my solution: sudo ln -s /usr/share/java/swt-gtk-3.5.1.jar /usr/share/java/swt.jar
Here's a forum where I found the answer: http://forum.vuze.com/thread.jspa?messageID=217676

Revision history for this message
Patrizio Melis (cobe571) wrote :

I was unable to use VUZE into Ubuntu 10.04.2 after an upgrade from 8.04.4. At the end of the day I look into various channels and there's my solution:

Download from :
http://sourceforge.net/projects/azureus/files/

Estract files.
You'll have a directory named VUZE (Right?).
Whit your prefered text editor open the file Azuresus (application/x-shellscript)

Go to line 5
Now Change JAVA path:

JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/"

to

JAVA_PROGRAM_DIR="/usr/lib/jvm/java-6-sun-1.6.0.24/bin/" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/"

Or whatever is the real JAVA Path into your OS!!!

Now VUZE works! BTW everytime you'll update your JAVA version (Ex. java-6-sun-1.6.0.24) you'll need to change the JAVA path into the Azureus file (application/x-shellscript)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.