- 论坛徽章:
- 0
|
我用的是RedHat 9,用了jdk1.4.2,comm.jar,RXTXcomm.jar
然后出错信息是:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4000972A
Function=_dl_relocate_object+0x6A
Library=/lib/ld-linux.so.2
Current Java thread:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
- locked <0x44c47118>; (a java.util.Vector)
- locked <0x44c56190>; (a java.util.Vector)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:78
- locked <0x44c45f50>; (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:834)
at gnu.io.RXTXCommDriver.<clinit>;(RXTXCommDriver.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:165)
at javax.comm.CommPortIdentifier.<clinit>;(CommPortIdentifier.java:260)
at SMS.COMSMS.Initialize(COMSMS.java:109)
at SMS.COMSMS.Open(COMSMS.java:21 |
|