can't load jvm.dll
843829Mar 27 2007 — edited Mar 28 2007the following simple code can't load jvm.dll
at windows xp sp2 ,
jre-1_5_0_11
#include <jni.h>
#include <stdio.h>
int main() {
HINSTANCE hVM;
if((hVM = LoadLibray("C:\\Program Files\\Java\\jre1.5.0_11\\bin\clien\\jvm.dll"))==NULL){
printf("faild\n");
}
else
printf("succes\n");
return 0;
}