I am doing a sample program using JNI to interface
java and C++.I encountered the following error while running Main.java.
Exception in
thread "main" java.lang.UnsatisfiedLinkError: /root/java/lav/libOrderImp.so: /root/java/lav/libOrderImp.so: undefined symbol: __8WmsClass
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1360)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1284)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:777)
at Mainclass.<clinit>(Mainclass.java:4)
Please help..