running java 5/6 with JNI on java 7 gives stack guard warning
问题 A java program built with 1.5 (or 1.6 with 1.5 comparability mode on) gives this warning: Java HotSpot(TM) Server VM warning: You have loaded library mynativelib.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. It doesn't seem to cause a problem but obviously would look a bit scary to our customers. I don't think building the java bits in 7 would fix