求帮看看linux执行java class发生异常
[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位
------解决方案--------------------不要用linux,用windows
------解决方案--------------------还没见过这中问题。。。
------解决方案--------------------Could not find the main class: com.magc.jni.HelloWorld. Program will exit.
检查java_home  classpath 或者在执行的命令里面指定执行的classpath