Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Chapter 9. Troubleshooting [ Next ]

Threads With Native Methods

If a native library is not multithread-safe, using JNI to call routines implemented in the native library can cause the Java virtual machine to fail. To avoid multithreading problems with native libraries, include the Synchronized clause in your Java calls to functions in native libraries.

If a call to a routine implemented in the native library causes the Java virtual machine to fail:


[ Previous ][ Home ][ Next ]
Setting the Class Path[ Up ]Getters and Setters in a C-Bean