help - can not create java VM

Please help. JNI_CreateJavaVM returns -1 to me from VC++ code on Windows2000. The same code runs on Solaris well.What could be the reason?Thanks,Lan
[190 byte] By [lzhang97] at [2007-9-26 8:39:11]
# 1
I had the same problem. Have you find the solution. I suspect the version problem ?Thanks
ryang57111 at 2007-7-1 19:25:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
I had the same problem and fixed it by putting the jvm.dll is on the system path.
irwilliams at 2007-7-1 19:25:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3

I have exactly the same problem an dI am too under Windows 2000. I currently use the jni.h, jni_md.h, jvm.lib and jvm.dll from my JDK1.3.1 directory.

I have checked the JNI version I use and the one I specifie in the JVM reation. I think I am right with the JNI 1.2 version.

BUT : -1 is always the result I get ...

I have seen that someone advised putting the jvm.dll on the system path.

Does it fix the problem under windows2000 ?

If yes, could you explain me a little bit more precisely what do you mean by "putting the jvm.dll on the system path" ?

tomacap at 2007-7-1 19:25:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...