Getting "A fatal error has been detected by the Java Runtime Environment:" when trying to run JavaFX code


I am getting this 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: 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:

If you would like to submit a bug report, please visit:
 The crash happened outside the Java Virtual Machine in native code.
 See problematic frame for where to report the bug.

This only happens when I try to run JavaFX code. The JavaFX library itself is installed correctly. I've tried using different JDKS but nothing works (openjdk 15 on IntelliJ). I have updated,reinstalled java multiple times to no avail. I've also tried both eclipse and IntelliJ and they both get the same errors. The issue has nothing to do with the code written itself because it happens even when creating a new JavaFX project and trying to run the default blank window. The window itself appears for less than a second, disappears and then I get the error. I am pretty desperate at this point, any help is appreciated.

Edit: I am going to link the whole error log (From IntelliJ) in pastebin because I'm honestly completely lost

asked on Stack Overflow Nov 13, 2020 by Vladimir Hristakiev • edited Nov 13, 2020 by Vladimir Hristakiev

1 Answer


Ok, I literally just updated windows and it fixed itself.. lol

answered on Stack Overflow Nov 13, 2020 by Vladimir Hristakiev

User contributions licensed under CC BY-SA 3.0