Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

RXTX and openjdk

Help
2012-01-07
2012-12-06
  • Luc Begault
    Luc Begault
    2012-01-07

    Hi,
    since debian removed sun-java from archive I'am trying to use jdivelog with openjdk. Actually I get this error that seems stange as jdivelog find rxtx libs but don't manage to use it:
    Comm API: false
    RXTX-2.1: false
    ERROR: Neither Comm API nor RXTX-2.1 installed, No Dive Computer support!!!

    Comm Init Log:
       INFO: Initializing JavaCommAPI Comm Ports
    WARNING: javax.comm-Classes not found! JavaCommAPI support disabled!
       INFO: Initializing RXTX-2.1 Comm Ports
    WARNING: RXTX-Classes not found! RXTX support disabled!
       INFO: CommUtil initialization finished.

    Comm Libs:
    Native Lib Dir does not exist: /usr/java/packages/lib/amd64
    Possible RXTX Lib found: /usr/lib/jni/librxtxI2C.so (20200 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxRS485-2.2pre1.so (20704 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxI2C-2.2pre1.so (20200 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxRS485.so (20704 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxSerial.so (56608 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxParallel-2.2pre1.so (13160 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxRaw.so (20456 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxRaw-2.2pre1.so (20456 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxParallel.so (13160 bytes, read:true)
    Possible RXTX Lib found: /usr/lib/jni/librxtxSerial-2.2pre1.so (56608 bytes, read:true)

    Regards,
    Luc.

     
  • Hi Luc,

    It looks like the native librarie were there, but the corresponding JAVA-Libraries are missing.
    There should be a "RXTXcomm.jar" in $JRE_HOME/lib/ext.

    When installing with the installer and selected RXTX-Libraries this file should be copied (if Permissions are given).

    Kind regards
    Pascal