[Bug 91237] [NEW] java library not found

Launchpad Bug Tracker 91237 at bugs.launchpad.net
Sat Jul 19 23:15:39 BST 2008


You have been subscribed to a public bug by Jonathan Marsden (jmarsden):

Binary package hint: iriverter

fresh install, starting from command line:

% iriverter
!!! An unhandled exception occured: class java.lang.UnsatisfiedLinkError
--- iriverter 0.16
--- 
--- Settings:
--- 
--- 
!!! no swt-pi-gtk-3235 in java.library.path
!!! 
!!! java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
!!! java.lang.Runtime.loadLibrary0(Runtime.java:788)
!!! java.lang.System.loadLibrary(System.java:834)
!!! org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
!!! org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
!!! org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
!!! org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
!!! org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
!!! org.thestaticvoid.iriverter.ConverterUI.<init>(ConverterUI.java:28)
!!! org.thestaticvoid.iriverter.ConverterUI.main(ConverterUI.java:666)
!!! 
Exception in thread "main" java.lang.NoClassDefFoundError
        at org.thestaticvoid.iriverter.ConverterUI.main(ConverterUI.java:675)

% dpkg -l libswt3.2-gtk-java iriverter
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name             Version          Description
+++-================-================-================================================
ii  iriverter        0.16-0ubuntu2    converts video for use on various multimedia pla
ii  libswt3.2-gtk-ja 3.2.1-2ubuntu1   Fast and rich GUI toolkit for Java, gtk2 version

This is a regression caused by iriverter 0.16-0ubuntu2.

WORKAROUND:
Append ":/usr/lib/jni" after the -Djava.library.path part. The line should now be:
java -Djava.library.path=$LD_LIBRARY_PATH:${exec_prefix}/lib:/usr/lib/jni -classpath $CLASSPATH:${prefix}/share/java/iriverter.jar:/usr/lib/java/swt.jar org.thestaticvoid.iriverter.ConverterUI $*

** Affects: iriverter (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: meta-kde (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: bitesize regression
-- 
java library not found
https://bugs.launchpad.net/bugs/91237
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list