set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_20"
cl /I. /I%JAVA_HOME%\include /I%JAVA_HOME%\include\win32 /O1 /MT /D _STATIC_CPPLIB /D PSAPI_VERSION=1 /c *.c
link /dll /opt:REF /out:memoryMonitor.dll *.obj