Print头发 2022-08-16 11:33 采纳率: 60%
浏览 202

IDEA运行程序出现致命错误

程序运行后提示,只执行一行然后抛出异常提示 A fatal error has been detected by the Java Runtime Environm

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

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180004465, pid=7900, tid=0x00000000000053d0

JRE version: Java(TM) SE Runtime Environment (8.0_291-b10) (build 1.8.0_291-b10)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.291-b10 mixed mode windows-amd64 compressed oops)

Problematic frame:

C [rxtxSerial.dll+0x4465]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:

C:\Users\Wt\Desktop\UsartTools-master\hs_err_pid7900.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.

Process finished with exit code 1

我尝试从jdk17到jdk8还是一样的问题
  • 写回答

4条回答 默认 最新

  • 狂龙骄子 2022-08-16 15:01
    关注

    IDEA默认的JRE版本,与环境变量JAVA_HOME的JDK版本不兼容,请手工指定构建 项目的JDK版本。

    img

    也可参考这篇:
    https://blog.csdn.net/qq_41187714/article/details/103094372

    评论

报告相同问题?

问题事件

  • 创建了问题 8月16日