-
-
Notifications
You must be signed in to change notification settings - Fork 146
JavaFX initialization stuck
The IDE is either stuck or (with newer versions of the plugin) will show a message “JavaFX initialization is stuck”
When you’re running IntelliJ on Linux with a GTK3 based desktop (like Ubuntu 19.04) using the JetBrains Runtime based on OpenJDK 8, the following will happen:
If something like this happens to you in a different environment, please open a GitHub issue to investigate it.
- 0.28.17 and earlier
-
The IDE will freeze once you open a AsciiDoc document with the plugin. Actually this will happen for any JavaFX based preview, including the IntelliJ Markdown plugin.
- 0.28.18 and later
-
The AsciiDoc plugin will show a notification “JavaFX initialization is stuck”
The JetBrains Runtime based on OpenJDK 8 (aka JBR8) doesn’t include jre64/lib/amd64/libglassgtk3.so that is needed to run JavaFX in GTK3 environments.
Upon the first initialization of JavaFX it will become stuck. Newer versions oft the plugin identify this situation and instead of hanging up the IDE will present a warning message.
Download the Build of IntelliJ that includes the JetBrains Runtime based on OpenJDK 11 (JBR11). Once you use this version, go the the plugin settings and ensure that you’ve enabled the JavaFX preview for best preview experience.
This was first reported with a useful stack trace in issue #299. Thank you for @ZainlessBrombie for providing detailed information and reporting back on a pre-release that helped to fix this isssue.