Hi,
i am using Linux 2.4.4-4 with JDK 1.3.1
I want to call one method in a native, shared C++ library from
Java, using JNI.
The C++ .so lib depends on other .so libs
which have many C++ classes which are
usually initialized automatically on startup before the
main() method (if i invoke
the old C++ application executable).
Now it seems, that the java System.load()
does not call something like _main_()
I believe all my global C++ classes are
uninitialized - as i get this error:
--------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x405927d9
Function
name=__as__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0RCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0
Library=/usr/lib/libstdc++-libc6.1-1.so.2
---------------------------
Is there any lowlevel main() in the Linux clib
which i can invoke manually?
thanks for any hint,
Marcel
--
Marcel Ruff
mailto:[EMAIL PROTECTED]
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]