A java program built with 1.5 (or 1.6 with 1.5 matching mode enabled) gives the following warning:
HotSpot (TM) Java Virtual Machine Warning: You loaded the mynativelib.so library, which might disable stack protection.
Now the VM will try to fix the stack protection. It is strongly recommended that you fix the libraries with "execstack -c" or associate it with '-z noexecstack ".
This does not seem to pose a problem, but it will obviously look a little scary for our customers. I don't think creating java bits in 7 will fix this problem, but I'm struggling to figure out where the docs say how to create JNI libraries for Java 7, which means the warning implies that I have to do to another.
So where should I look?
source share