【发布时间】:2021-02-25 06:09:32
【问题描述】:
我收到此错误:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff90fdfed10, pid=4140, tid=3980
JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12-46)
Java VM: OpenJDK 64-Bit Server VM (14.0.2+12-46, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
Problematic frame:
C 0x00007ff90fdfed10
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\Vladimir\eclipse-workspace\Lol1\hs_err_pid4140.log
If you would like to submit a bug report, please visit:
https://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.
这只发生在我尝试运行 JavaFX 代码时。 JavaFX 库本身已正确安装。我尝试使用不同的 JDKS,但没有任何效果(IntelliJ 上的 openjdk 15)。我已经更新,重新安装了多次java无济于事。我也尝试过 eclipse 和 IntelliJ ,它们都得到了相同的错误。该问题与自己编写的代码无关,因为即使在创建新的 JavaFX 项目并尝试运行默认的空白窗口时也会发生这种情况。窗口本身出现不到一秒钟,然后消失,然后我收到错误消息。在这一点上我非常绝望,感谢任何帮助。
编辑:我将在 pastebin 中链接整个错误日志(来自 IntelliJ),因为老实说我完全迷路了
【问题讨论】:
-
请阅读下面的2个链接:java.com/en/download/help/exception_access.htmlstackoverflow.com/questions/140030/…它给了你一个错误文件,打开它看看它说什么,它可能会给你关于如何修复它的信息。 C:\Users\Vladimir\eclipse-workspace\Lol1\hs_err_pid4140.log
标签: java eclipse intellij-idea javafx fatal-error