From Lehigh RTMD Wiki
- Connect to the RTMD Subversion Repository, svn://rtmdrepos.nees.lehigh.edu/RTMD/trunk/RTMD.
- Under src/edu/lehigh/nees/scramnet/ check out edu_lehigh.nees.scramnet_ScramNetIO.h, make.bat, PNPSCR.lib, ScramNetIO.c and ScramNetIO.java.
- Make sure that JAVA_HOME in make.bat is set to the correct Java JDK path.
- Make sure that SCRAMNET_HOME in make.bat is set to the SCRAMNet root location.
- Compile the ScramNetIO.java file
javac edu\lehigh\nees\scramnet\ScramNetIO.java
- Create the C JNI Header
javah -jni edu.lehigh.nees.scramnet.ScramNetIO
- Run make.bat to create the driver file, scramnetio.dll.
- Copy the scramnetio.dll file to C:\RTMD\lib\ on the RTMDsim PC.
- If you make changes to the ScramNetIO.c file, make sure the changes are reflected in the edu_lehigh_nees_lehigh_scramnet_ScramNetIO.h and ScramNetIO.java files. You may need to change the function declaration parameters if you changed them in the ScramNetIO.c file.
- If the ScramNetIO.java file has been changed, please follow the instructions on how to checkout and package the RTMD java software.