www.rkjava.de
Gerd Limbeck - technical computer science engineer
Home  -  Packages  -  Downloads  -  Docs  -  Services  -  Contact  -
 
Installation Instruction for Sun's Communication API 2.0 --- A Mini-HOWTO:
  • For Windows:
    1. Download and extract "Java(TM) Communications API Specification 2.0" => javacomm20-win32.zip in a temporary directory.
    2. Install "Java(TM) Communications API Specification 2.0" into your 'JAVA_HOME'. If your 'JAVA_HOME' directory is 'c:\program files\java\jre', then copy
      1. win32com.dll into c:\program files\java\jre\bin
      2. comm.jar into c:\program files\java\jre\lib\ext\
      3. javax.comm.properties into c:\program files\java\jre\lib\javax.comm.properties

  • For x86-Linux:
    1. Download the Solaris Version from "Java(TM) Communications API 2.0.3 for Solaris/SPARC" => javax_comm-2_0_3-solsparc.tar.Z
    2. Extract "Java(TM) Communications API Specification 2.0.3 for Solaris/SPARC", e.g with 'tar -xzf javax_comm-2_0_3-solsparc.tar.Z'
    3. Copy 'comm.jar' into Java-Directory, e.g. with 'cp ./commapi/comm.jar /usr/lib/java/jre/lib/ext/comm.jar'
    4. Install 'rxtx' (www.rxtx.org). We had the best experiences with Version 'rxtx-1.4.16pre2':
      tar -xzf rxtx-1.4.16pre2-bin-pc-linux.tar.gz --directory=/usr/lib/
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/jcl.jar /usr/lib/java/jre/lib/ext/RXTXcomm.jar
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/javax.comm.properties /usr/lib/java/jre/lib/javax.comm.properties
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/librxtxSerial.so /usr/lib/java/jre/lib/i386/librxtxSerial.so
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/librxtxSerial.la /usr/lib/java/jre/lib/i386/librxtxSerial.la
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/librxtxParallel.so /usr/lib/java/jre/lib/i386/librxtxParallel.so
      ln -s /usr/lib/rxtx-1.4.16pre2-bin-pc-linux/librxtxParallel.la /usr/lib/java/jre/lib/i386/librxtxParallel.la
    5. A user must be in group uucp!
11.01.2005
(c) www.rkjava.de