Welcome! Log In Create A New Profile

Advanced

rxtxSerial exception on Ubuntu java.lang.UnsatisfiedLinkError

Posted by i02fesea 
rxtxSerial exception on Ubuntu java.lang.UnsatisfiedLinkError
July 08, 2013 12:02PM
Hi everyone,

I have tried to run the Main.java file from the org.reprap project, but I am getting the following exception all the time. My machine is 64bit and I have tried to replace the RXTXcomm.jar file for a 64bit version, but this does not fix the problem.

Does anyone know how to fix this problem?

Thank you for your help in advance

java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "RepRap" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1856)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83)
at org.reprap.comms.GCodeReaderAndWriter.openSerialConnection(GCodeReaderAndWriter.java:850)
at org.reprap.comms.GCodeReaderAndWriter.init(GCodeReaderAndWriter.java:212)
at org.reprap.comms.GCodeReaderAndWriter.(GCodeReaderAndWriter.java:171)
at org.reprap.machines.GCodeRepRap.(GCodeRepRap.java:44)
at org.reprap.machines.MachineFactory.create(MachineFactory.java:32)
at org.reprap.Main.(Main.java:101)
at org.reprap.Main$9.run(Main.java:478)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Re: rxtxSerial exception on Ubuntu java.lang.UnsatisfiedLinkError
July 09, 2013 05:11AM
Has anyone had this problem? Otherwise can someone tell me where I can find an updated instructions to setup the software? The instructions in the wiki are missing so steps for the project configuration on eclipse.

Thank you
Re: rxtxSerial exception on Ubuntu java.lang.UnsatisfiedLinkError
July 09, 2013 06:06AM
Problem Solved. I have changed the libraries to 64bit version and that has fixed the problem.

Thanks anyway
Sorry, only registered users may post in this forum.

Click here to login