# Matthew Mead
# Monday, February 01, 1999 1:07 PM

# compile java sources
javac JavaFields.java
javac Main.java

# create JNI-comptible header file
javah -jni JavaFields

# compile the cpp file (make sure the location of the jdk matches your system)
gcc -G -I/pkgs/jdk1.1.1/include -I/pkgs/jdk1.1.1/include/genunix JavaFieldsImp.cpp -o libJavaFieldsImp.so

# run the program
java Main