Running Jamaseis on Linux

Unlike on Windows or Mac OS, jAmaSeis does not autodetect the serial port where a seismometer is connected on Linux. To run jAmaSeis on Linux, the jAmaseis.jar file must be started from the terminal with the correct serial port passed as a parameter. For the Arduino in the TC-1, this port will be /dev/ttyACM0 (or sometimes 1,2,3… instead of 0). The command to start jAmaSeis is:

java -Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0 -jar jAmaseis.jar

It should also be noted that the Arduino drivers must be installed to read data sent by the TC-1. The easiest way to do this is by installing the Arduino IDE which will automatically install the appropriate drivers.

Since jAmaSeis is written in Java, a Java runtime environment must also be installed to run the .jar file. For example, OpenJDK.