Follow the Installation instructions provided with the SDK download.
There are several core utilities and tools that are needed to build and run SIAM:
Install the binary package (RXTX.pkg).
There are instructions for how to build and install the binaries manually on the RXTX wiki (requires XCode tools).
| File Name | Location |
|---|---|
| librxtxSerial.jnilib | /Library/Java/Extensions |
| RXTXcomm.jar | /Library/Java/Extensions |
Untar the distribution and install the contents to the following locations, where JAVA_HOME is the location of the Java SDK:
| File Name | Location |
|---|---|
| librxtxSerial.so | JAVA_HOME/jre/lib/[machine type] (i386 for instance) |
| RXTXcomm.jar | JAVA_HOME/jre/lib/ext |
Untar the distribution and install the contents to the following locations, where JAVA_HOME is the location of the Java SDK:
| File Name | Location |
|---|---|
| rxtxSerial.dll | JAVA_HOME/jre/bin |
| RXTXcomm.jar | JAVA_HOME/jre/lib/ext |
The following Java environment must be set for all distributions
| Variable | Value |
|---|---|
| RXTXcomm.jar must be in the classpath | A copy of RXTXcomm.jar is in SIAM_HOME/jars; this jar should be included in SIAM_CLASSPATH. |
| Java system property "gnu.io.rxtx.SerialPorts" must be set for SIAM; otherwise, the RXTX must scan for ports, and this can take a very long time. SIAM uses the "platformSerialPorts" property in siamPort.cfg to pass this value to RXTX. | Delimited list of serial ports; For Win32, the delimiter is semicolon, for Linux/MacOS, use colon.
platformSerialPorts = /dev/ttys0:\
Attempting to open a port not in this list results in a PortNotFoundException.
/dev/ttys1:\ /dev/ttys2:\ /dev/ttys3: |