在Linux中,Java使用Rxtx串行端口来显示异常,但Windows可以正常工作

在Linux中,Java使用Rxtx串行端口来显示异常,但Windows可以正常工作,java,Java,在Linux中,Java使用Rxtx串行端口来显示异常,但Windows可以正常工作。 单击“开始”按钮时,jvm错误: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700 # # JRE version: Java(TM) SE Runtime Envi

在Linux中,Java使用Rxtx串行端口来显示异常,但Windows可以正常工作。 单击“开始”按钮时,jvm错误:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [librxtxSerial.so+0x6d9d]  read_byte_array+0x3d
#
# 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:
# /root/Workspaces/MyEclipse 2017/telegram/hs_err_pid21887.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

问题是什么?你想达到什么目的?如果你想提交错误报告,请访问:时间会解决一切,这个问题在我更新了最新版本后解决了,但是现在,一个新的问题发生了,当我关闭serialport(API:serialport.close();)时,程序总是卡住…你有解决方案吗?