I’m working with a jni application that loads a dll library, but the load of it is taking too long. The dll is in the path. As a relevant informat, this dll depends on other oracle dlls that are also in the path.
System.loadLibrary("exmaple.dll");
Do you have any idea why the load never ends?
I made some tests and it seems to be related with threads. When I put a breakpoint in the loadLibrary call, it won’t go to the next step. It only goes to the next step after I reactivate other threads in my application. I couldn’t figure if this is a java bug or some thread issue. I’m using JDK1.6.0_11.
If someone faces the same problem in future, check for a thread issue.