Invoke JavaProg.main() from a win32 program: . compile Main.java . compile VC project . set include path for jni.h, which is under java_Home\include . set linking path for jvm.lib, which is under java_Home\lib\jvm.lib . copy Main.class and Main$1.class to the working dir of the VC project (or the same dir with the output executable App.exe) . run App.exe . set searching path for jvm.dll
标签:
compile
JavaProg
include
program
上传时间:
2014-11-16
上传用户:思琦琦