-
-
Notifications
You must be signed in to change notification settings - Fork 146
JavaFX preview
The JavaFX preview provides better HTML preview and additional features like scoll-to-view and opening links in the browser.
The JavaFX preview works on a 64bit JDK and needs JavaFX installed. Please use the JDK provided by JetBrains for best results. Please use the JetBrains OpenJDK 11 runtime whenever possible.
This is recommended for Android Studio 4.0 that includes JetBrains OpenJDK 8 as default without JavaFX support.
-
Install the plugin "Choose Runtime" as described in the JetBrains knowledge base “Selecting the JDK version the IDE will run under”.
-
Choose a runtime "jbrsdk-11_0_7-…-x64-b956.14.tar.gz" or later and install it. The IDE will restart.
-
Go to the settings of the AsciiDoc plugin and check if the preview is set to “JavaFX WebView”. Change it to “JavaFX WebView” if this is not the case.
-
OpenJDK installations provided on Linux OS sometimes don’t include JavaFX, therefore the JavaFX preview is not available. Please use the JetBrains JDK.
-
Oracle JDK JavaFX package on Windows is less stable compared to the OpenJDK provided by Jetbrains and might lead to a crashing IDE. Please use the JetBrains JDK.