我收到此错误:
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),因为老实说我完全迷路了