: Matthew Mead
: Monday, February 01, 1999 1:08 PM

: assumes javac, javah, and Microsoft's compiler are in the path

: compile java sources
javac PrintFuncs.java
javac Main.java

: create JNI-comptible header file
javah -jni PrintFuncs

: compile the cpp file
: replace the include paths to match your environment
cl -Im:\jdk1.1.5\include -Im:\jdk1.1.5\include\win32 -LD PrintFuncsImp.cpp -FePrintFuncsImp.dll

: run the program
java Main