|
|
  |
Installation Instruction for Sun's Communication API 2.0 --- A
Mini-HOWTO:
-
For Windows:
-
Download and extract
"Java(TM) Communications API Specification 2.0"
=> javacomm20-win32.zip in a temporary directory.
-
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
- win32com.dll into c:\program files\java\jre\bin
- comm.jar into c:\program files\java\jre\lib\ext\
- javax.comm.properties into c:\program files\java\jre\lib\javax.comm.properties
-
For x86-Linux:
-
Download the Solaris Version from
"Java(TM) Communications API 2.0.3 for Solaris/SPARC"
=> javax_comm-2_0_3-solsparc.tar.Z
-
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'
-
Copy 'comm.jar' into Java-Directory, e.g. with 'cp ./commapi/comm.jar /usr/lib/java/jre/lib/ext/comm.jar'
-
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
- A user must be in group uucp!
|