N
Naresh Agarwal
Hi
I'm trying to create Java VM (JNI_CreateJavaVM) from a C++ application
on Suse 64 using IBM JDK v1.4.2, but getting error code -4, which means
"ENOMEM".
But looks like issue is not related to memory (we have tried changed VM
heap and stack sizes). When i switch on "verbose:jni", i see following
error message -
- JVMJ9VM019E Fatal error: Unable to find and initialize required
class java/lang/Object
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/jclSC14/classes.zip
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/core.jar
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/.....(all other
jar files present in jre/lib/)
- JVMJ9VM023I This may indicate that JAVA_HOME is incorrect, or that
class libraries are not installed
- JVMJ9VM015W Initialization error for library jclscar_22(13):
JVMJ9VM009E J9VMDllMain failed
JDK is properly installed and normal java application is working fine.
Any help would be appreciated!
Thanks & Regards,
Naresh
I'm trying to create Java VM (JNI_CreateJavaVM) from a C++ application
on Suse 64 using IBM JDK v1.4.2, but getting error code -4, which means
"ENOMEM".
But looks like issue is not related to memory (we have tried changed VM
heap and stack sizes). When i switch on "verbose:jni", i see following
error message -
- JVMJ9VM019E Fatal error: Unable to find and initialize required
class java/lang/Object
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/jclSC14/classes.zip
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/core.jar
- JVMJ9VM020I Searched in
/home/snarasi1/zeus/katana_Linux64/install/java/jre/lib/.....(all other
jar files present in jre/lib/)
- JVMJ9VM023I This may indicate that JAVA_HOME is incorrect, or that
class libraries are not installed
- JVMJ9VM015W Initialization error for library jclscar_22(13):
JVMJ9VM009E J9VMDllMain failed
JDK is properly installed and normal java application is working fine.
Any help would be appreciated!
Thanks & Regards,
Naresh