I tried to load a class in a self started JVM. I am using Java2, NT WS 4.0, and Visual C++ 6.0.

Davanum Srinivas

You need to set the vm_args.classpath explicitly. The CLASSPATH environment variable is not picked up explicitly when you create your own JVM.

Take a look at:

Embed Java VM in Executables using Java Native Interface (JNI)

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact