ok but same sample works fine -- atleast executation -- with JRE 1.4.0.
Issue is with my class name inside FindClass, even though I have that
in class path it causes core dump.
like: FindClass("/com/test/myClass")
Anything wrong in syntax? I mean should it be
FindClass("L/com/test/myClass;")
I have commented out next 2 lines after FindClass, so test() method
will not get called anyway.
> ok but same sample works fine -- atleast executation -- with JRE
> 1.4.0. Issue is with my class name inside FindClass, even though I
> have that in class path it causes core dump. like:
> FindClass("/com/test/myClass") Anything wrong in syntax? I mean
> should it be
> FindClass("L/com/test/myClass;")
No, it's exactly "com/test/myClass", without any extra characters
before or after.
You claim that you have set up the environment correctly, but perhaps
your launcher is unable to link to all of the necessary libraries
(.so), or is finding a combination of libraries from two JVMs, or
something along those lines. Check that LD_LIBRARY_PATH (or the AIX
equivalent) is correct. Use ldd to see exactly what is being found.
Try also removing the call to DestroyJavaVM.
/gordon

Signature
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e