jAmaSeis Installation Guide¶
Here we describe the necessary steps for installing jAmaSeis on your laptop or desktop computer. The instructions are Operating System (OS) dependent- jAmaSeis will run on Windows, MAC and Linux.
Windows & MAC¶
For Windows and MAC there is an installer designed for them. For Windows there is a .exe and for MAC a .dmg file. So it is straightforward install it. Take a look at http://www.iris.edu/hq/jamaseis/
For Windows, you might need to determine if you are running a 32- or 64-bit Windows system. You can use this link: http://windows.microsoft.com/en-us/windows/32-bit-and-64-bit-windows#1TC=windows-7
As was the case with Swarm (Swarm Installation Guide), JAVA is required for running seisgram2k. To install java, please visit https://java.com/en/download/. Here you will find plenty of information and instructions for installing Java.
Linux is a bit trickier but still pretty easy.
jAmaSeis requires a different flavor of JAVA than Swarm and seisgram2k do. Install Oracle Java on Ubuntu using a Personal Package Archive (PPA).
$ sudo apt-add-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer
Also ensure your JAVA_HOME variable has been set to /usr/lib/jvm/java-8-oracle. For this you can run the following command:
$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle
To make it permanent you can add the the following to ‘/etc/environment’:
You will also need to install RXTX (native interface to serial ports in Java)
$ sudo apt-get install librxtx-java $ sudo ln -s /usr/lib/jni/librxtxSerial.so /usr/lib/ $ sudo usermod -a -G dialout $USER