Originally posted by: SystemAdmin
Two things to note here:
1. The JVM is multi-threaded and may not open the file in the main thread/process.
2. The JVM may first check for existence of the file using stat() or something else.
Here is what I usually do to trace what Java does (there may be better way):
rm javalog.*
strace -o javalog -ff java <arguments to java>
grep libcplex javalog.*
This shows what files the JVM tries to access when searching for libcplex124.so. It also shows the return values for stat() and open().
Do you see anything suspicious there?
#CPLEXOptimizers#DecisionOptimization