(Sorry about the previous post of this message in the 'wxwindws or qt thread') Hello, I tried to use the Java comm API under Suse8.0, I got the RXTX libs and installed it, got the Solaris comm API and installed it (following this document : http://wass.homelinux.net/howtos/Comm_How-To.shtml When i compile a simple test program everything is OK, the compile gives no errors. When i try to run the program an error occurs : Caught java.lang.ClassCastException: gnu.io.RXTXCommDriver while loading driver gnu.io.RXTXCommDriver Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I know that this has got something to do with Java being unable to find the object files of the comm library. I also know that it has got something to with the 'javax.comm.properties' file, if i rename this file the message changes to the following : Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver What i don't know however is how to correct this!!. So, my actual questions are : 1) Is anyone using the java.com API and how did you get it installed. 2) Is there a way to correct my errors ?? Grtz Dries Pruimboom -- <End of message> -- <End of message>
I wrote : | Hello, | | I tried to use the Java comm API under Suse8.0, I got the RXTX libs and | installed it, got the Solaris comm API and installed it (following this | document : .. .. .. | What i don't know however is how to correct this!!. | | So, my actual questions are : | | 1) Is anyone using the java.com API and how did you get it installed. | 2) Is there a way to correct my errors ?? | | | Grtz Dries Pruimboom Well it is solved, it turned out that the Version 1.5 directory of rxtx did not have the jcl.jar file in it, i took that one from the V1.4 directory and all seems to work now !. Grtz Dries Pruimboom -- <End of message>
participants (1)
-
dries