标题: 64位linux上业务服务器异常,请帮助 [打印本页] 作者: 小易 时间: 2014-2-18 17:41 标题: 64位linux上业务服务器异常,请帮助 (1)linux version
Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
(2)JDK是32位的。
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode)
启动业务服务器异常。
--->/home/xiaoe/test/communicateServer/anychatcoresdk_linux_r3956/bin/serversdk::/usr/java/packages/lib/i386:/lib:/usr/lib
Java HotSpot(TM) Client VM warning: You have loaded library /home/xiaoe/test/communicateServer/anychatcoresdk_linux_r3956/bin/serversdk/libanychatserver4java.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 <libfile>', or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/xiaoe/test/communicateServer/anychatcoresdk_linux_r3956/bin/serversdk/libanychatserver4java.so: /home/xiaoe/test/communicateServer/anychatcoresdk_linux_r3956/bin/serversdk/libanychatserver4java.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.bairuitech.anychat.AnyChatServerSDK.<clinit>(AnyChatServerSDK.java:211)
at com.hsth.communicate.core.server.CommunicateServer.start(CommunicateServer.java:59)
at com.hsth.communicate.core.server.CommunicateServer.main(CommunicateServer.java:43)