[root@cs1 /]# java com.magc.jni.HelloWorld
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/cstor/libhello.so: /home/cstor/libhello.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at com.magc.jni.HelloWorld.<clinit>(HelloWorld.java:5)
Could not find the main class: com.magc.jni.HelloWorld.  Program will exit.
[root@cs1 /]# 求给出原因 都是  linux64位  jdk 64位