美文网首页
2019-07-31

2019-07-31

作者: P小H白P | 来源:发表于2019-07-31 18:12 被阅读0次

关于Java使用Rxtx包操作串口记录

教程网上都有,我记录一个遇到的错误,卡在一个地方一天。

在使用flush方法和read方法时碰见如下报错,程序终止运行:

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180004465, pid=9864, tid=10460

#

# JRE version: Java(TM) SE Runtime Environment (11.0.4+10) (build 11.0.4+10-LTS)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.4+10-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)

# Problematic frame:

# C  [rxtxSerial.dll+0x4465]

#

# No core dump will be written. Minidumps are not enabled by default on client versions of Windows

#

# An error report file with more information is saved as:

# C:\Users\Administrator\Desktop\project\java\ck\index\hs_err_pid9864.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.

#

原因好像是Rxtx包不支持高版本jdk,换成jdk8,解决

相关文章

  • 2019—07—31

    2019-07-31 纤秋 字数 454 · 阅读 0 2019-07-31 09:56 儿时每次上街玩,看到书店...

  • Lan的ScalersTalk第四轮新概念朗读持续力训练Day

    练习材料: [Day 1769 2019-07-31] Lesson 27-3The 'Vasa' As the ...

  • to some degree/extent

    title: to some degreedate: 2019-07-31 16:43:06NO_sents: 1...

  • 2019-08-02

    2019-07-31 毛雅亭 字数 565 · 阅读 14 2019-06-02 18:39 ...

  • 文先森的日常

    日精进打卡第365天 姓名:李文杰 (四爷); 公司:中国太平人寿; 日期:2019-07-31 【知~学习】 《...

  • 2019-07-31

    新时代新理念助生成长 靖宇374刘丽娟 字数 1681 · 阅读 0 2019-07-31 23:03 夏日的...

  • Mixin Network 月报 — — 第 5 期

    2019-07-01 ~ 2019-07-31 纪要 2019-07-06修复随机广播有的节点交易不确认的问题,会...

  • 第一次被惹哭

    2019-07-31 相处就是相互磨合, 磨平彼此棱角。 但是我不愿被磨平, 我依旧在被磨平; 我想磨平他, 但是...

  • 晨间随想

    时间:2019-07-31 周三 7;31 地点:湖北武汉 天气:晴天 状态:向往 关键字:飞翔 沉沉的一觉。 ...

  • 2019-07-31

    2019-07-31 姓名:郭祥华 组别:315期六项精进努力一组 【日精进打卡第571】 【知~学习】 背诵《...

网友评论

      本文标题:2019-07-31

      本文链接:https://www.haomeiwen.com/subject/qyztdctx.html