Tuesday, July 23, 2002 04:50 PM
You have not supplied enough information to pinpoint the problem, but here are some potential issues:
- Are you creating the thread from the native side and if yes, are you attaching it to the JVM?
- If you are creating the thread on the Java side (I think that's what you're saying), it's likely not a JNI related issue but a bug in your Java code or a problem in your configuration (classpath is always a prime candidate).
Catch all exceptions that you can in your Java code, that might show you something.
If you're doing a lot of JNI or want a more robust solution, you should check out our JunC++ion product at www.codemesh.com.