Package: librxtx-java Version: 2.1.7-2 Severity: normal
When I install the package I get the following errors while testing it using a simple application: java.lang.UnsatisfiedLinkError: nativeGetVersion thrown while loading gnu.io.RXTXCommDriver java.lang.NoClassDefFoundError thrown while loading gnu.io.RXTXCommDriver When I compile and install the package myself using apt-get source, the library does work. The sourcecode I use to test: cat src/ComPortScanner.java import gnu.io.CommPortIdentifier; import java.util.Enumeration; public class ComPortScanner { @SuppressWarnings("unchecked") public static void main(String[] args) { System.setSecurityManager(null); System.out.println("Start"); Enumeration<CommPortIdentifier> enums = CommPortIdentifier.getPortIdentifiers(); System.out.println("===================="); while(enums.hasMoreElements()) { CommPortIdentifier next = (CommPortIdentifier)enums.nextElement(); System.out.println("portname:" + next.getName() + " - Owner:" + next.getCurrentOwner()); } System.out.println("===================="); System.out.println("End"); } The errors I get with the Package default installed: Experimental: JNI_OnLoad called. java.lang.UnsatisfiedLinkError: nativeGetVersion thrown while loading gnu.io.RXT XCommDriver java.lang.NoClassDefFoundError thrown while loading gnu.io.RXTXCommDriver When I compile and install the package myself, using apt-get source; ./configure; make; make install : $ java ComPortScanner Start Experimental: JNI_OnLoad called. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 ==================== portname:/dev/ttyS0 - Owner:null ==================== End -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]