Update Edgy->Feisty breaks azureus w.r.t. java6+libswt

Bug #95639 reported by MadDogII
4
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: azureus

System: AMD64

After upgrading to feisty I get the following error when starting azureus:

azureus
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)'
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jni/libswt-pi-gtk-3236.so: /usr/lib/jni/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS64
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:68)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:106)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:80)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:180)

I can manually resolve the problem by selecting another java instance:
  ---> /usr/lib/jvm/java-6-sun/jre/bin/java
sudo update-alternatives --config java

There are 4 alternatives which provide `java'.

  Selection Alternative
-----------------------------------------------
 + 1 /usr/lib/jvm/ia32-java-6-sun/jre/bin/java
* 2 /usr/lib/jvm/java-6-sun/jre/bin/java
          3 /usr/bin/gij-wrapper-4.1
          4 /usr/lib/jvm/ia32-java-1.5.0-sun/jre/bin/java

(Java 1.5 did not worked at all in feisty)

Output from sudo update-alternatives --display java
java - status is manual.
 link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java
/usr/lib/jvm/ia32-java-6-sun/jre/bin/java - priority 63
 slave java.1.gz: /usr/lib/jvm/ia32-java-6-sun-1.6.0.00/jre/man/man1/java.1.gz
/usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
 slave java.1.gz: /usr/lib/jvm/java-6-sun-1.6.0.00/jre/man/man1/java.1.gz
/usr/bin/gij-wrapper-4.1 - priority 41
 slave java.1.gz: /usr/share/man/man1/gij-wrapper-4.1.1.gz
/usr/lib/jvm/ia32-java-1.5.0-sun/jre/bin/java - priority 53
 slave java.1.gz: /usr/lib/jvm/ia32-java-1.5.0-sun-1.5.0.11/jre/man/man1/java.1.gz
Current `best' version is /usr/lib/jvm/ia32-java-6-sun/jre/bin/java.

As already noted in Summary, this worked out-of-the-box in Edgy

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for this bug report

There's a lot of chances that this bug is a duplicate of bug 57875 but I'll mark this bug as such.

Can you install the latest upstream version 2.5.0.4-1ubuntu3~gutsy1 from Linux Ubuntu Gutsy with backports enabled and confirm if you still experience this bug?

If you can reproduce the bug with 2.5.0.4-1ubuntu3~gutsy1 version, I will set back this bug as not a duplicate.

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.