> > *TestMissingPort * > * Exception in thread "main" java.lang.**UnsatisfiedLinkError: > /tmp/jna-3506402/**jna7659204852244455440.tmp: > /tmp/jna-3506402/**jna7659204852244455440.tmp: > cannot open shared object file: No such file or directory* >
Google + exception in thread "main" java.lang.UnsatisfiedLinkError: returns many links . . . First hit -> http://stackoverflow.com/questions/11825528/exception-in-thread-main-java-lang-unsatisfiedlinkerror . I don't write code in Java, as such I know nothing about PureJavaComm, or this missing shared object file. But I'm sure you can use google and find a solution yourself. On Wed, Jul 30, 2014 at 9:53 AM, <[email protected]> wrote: > I'm trying to use PureJavaComm on my BBB/Rev C (Debian). I get the > following results: > > > root@beaglebone:/opt/dnc/lib# java -cp PureJavaComm.jar:jna-4.0.0.jar > purejavacomm.testsuite.TestSuite > PureJavaComm Test Suite > Using port: cu.usbserial-FTOXM3NX > TestMissingPort Exception in thread "main" > java.lang.UnsatisfiedLinkError: > /tmp/jna-3506402/jna7659204852244455440.tmp: > /tmp/jna-3506402/jna7659204852244455440.tmp: cannot open shared object > file: No such file or directory > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) > at java.lang.Runtime.load0(Runtime.java:795) > at java.lang.System.load(System.java:1062) > at > com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:761) > at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) > at com.sun.jna.Native.<clinit>(Native.java:131) > at com.sun.jna.NativeLong.<clinit>(NativeLong.java:23) > at jtermios.linux.JTermiosImpl.<clinit>(JTermiosImpl.java:63) > at jtermios.JTermios.<clinit>(JTermios.java:285) > at > purejavacomm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:104) > at > purejavacomm.testsuite.TestFreeFormPortIdentifiers.testMissingPortInCommPortIdentifier(TestFreeFormPortIdentifiers.java:25) > at purejavacomm.testsuite.TestSuite.main(TestSuite.java:43) > root@beaglebone:/opt/dnc/lib# > > The test works on Windows 7. Any suggestions??? > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
