N
Naresh Agarwal
Hi
I've a C++ application, which creates a VM and use some Java classes. I
create the VM using "JNI_CreateJavaVM" API. When I try to create a Java
class object using JNI call, where all, the .class file will be
searched by JVM?
If I create a jar file out of my classes and put that in jre\lib\ext,
will VM be able to locate and load it?
In other words, when a VM created from a C++ code, and a Java class is
instantiated using JNI calls, does VM searches the .class definition in
jre\lib\ext directory or it searches only in system classpath?
thanks & regards,
Naresh Agarwal
I've a C++ application, which creates a VM and use some Java classes. I
create the VM using "JNI_CreateJavaVM" API. When I try to create a Java
class object using JNI call, where all, the .class file will be
searched by JVM?
If I create a jar file out of my classes and put that in jre\lib\ext,
will VM be able to locate and load it?
In other words, when a VM created from a C++ code, and a Java class is
instantiated using JNI calls, does VM searches the .class definition in
jre\lib\ext directory or it searches only in system classpath?
thanks & regards,
Naresh Agarwal