Java Runtime Environment Ubuntu 14.04检测到致命错误

时间:2017-07-06 11:13:19

标签: java ubuntu-14.04 java-7 rxtx

我在Windows上开发了用于串行通信的Java App。我想在Ubuntu 14.04上运行这个Java App Jar。

Windows和Linux的Java版本是1.7 64位

每当我尝试在Ubuntu 14.04上运行这个Jar时,我都会收到以下错误:

swapnilc @ cms:〜/ Desktop / Janvi / testcode $ java -jar Test.jar

Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
RXTX Warning:  Removing stale lock file. /var/lock/LCK..ttyUSB0
Got PortList:: gnu.io.CommPortEnumerator@4fa666bf
Current PortID :: gnu.io.CommPortIdentifier@35a3ae73
Port in Use :: /dev/ttyUSB0
Started
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f30f5b99462, pid=13867, tid=139848257709824
#
# JRE version: OpenJDK Runtime Environment (7.0_131) (build 1.7.0_131-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.131-b00 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.9
# Distribution: Ubuntu 14.04 LTS, package 7u131-2.6.9-0ubuntu0.14.04.2
# Problematic frame:
# C  [librxtxSerial.so+0x6462]  read_byte_array+0x52
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/swapnilc/Desktop/Janvi/testcode/hs_err_pid13867.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

这在Windows上运行良好。

0 个答案:

没有答案