获得;Java运行时环境检测到一个致命错误:“0”;尝试运行JavaFX代码时

获得;Java运行时环境检测到一个致命错误:“0”;尝试运行JavaFX代码时,java,eclipse,intellij-idea,javafx,fatal-error,Java,Eclipse,Intellij Idea,Javafx,Fatal Error,我得到这个错误: 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: Op

我得到这个错误:

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库本身安装正确。我尝试过使用不同的JDK,但没有任何效果(IntelliJ上的OpenJDK15)。我已经多次更新、重新安装java,但都没有用。我还尝试了eclipse和IntelliJ,它们都会出现相同的错误。这个问题与代码本身无关,因为即使在创建新的JavaFX项目并尝试运行默认的空白窗口时也会发生。窗口本身出现不到一秒钟,消失了,然后我得到了错误。我在这一点上非常绝望,任何帮助都是感激的

编辑:我将在pastebin中链接整个错误日志(来自IntelliJ),因为我真的完全迷路了


好的,我刚刚更新了windows,它自己也修复了。。lol

请阅读下面的2个链接:它给了你一个错误文件,打开它,看看它说了什么,它可能会给你关于如何修复它的信息。C:\Users\Vladimir\eclipse workspace\Lol1\hs\u err\u pid4140.log