JavaFX 14 is the latest version of JavaFX released on March 11, 2020. This tutorial talks about creating a new JavaFX 14 project with Intellij IDEA IDE and Gradle. JavaFX 14 can run on top of Java 11 or later (It is mandatory to have Java 11 or better for JavaFX 14). In this tutorial, we will run it on top of Java 11 and Java 14 JDKs downloaded from the Zulu community.
Errors we come across in this project:-
1. "JavaFX runtime components are missing, and are required to run this application": This happens because you are trying to run the application with a JRE/JDK that doesn't have JavaFX components. If you are using Gradle and added JavaFX as a plugin, you must run the application with the help of Gradle's application plugin.
2. "Could not initialize class org.codehaus.groovy.runtime.InvokerHelper": This happens because you are using an older version of Gradle. Update the Gradle plugin to the latest version (As of writing this, the latest version is 6.3) and the issue will be fixed.
JavaFX official website: https://openjfx.io/
Zulu JDK community: https://www.azul.com/downloads/zulu-c...
JavaFX 3D project: https://github.com/afsalashyana/JavaF...
JavaFX modules: https://openjfx.io/javadoc/11/
---
Genuine coder
#JavaFX
Смотрите видео JavaFX 14 (2020 Release) Introduction - Creating a new project with JDK 11 and JDK 14 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Genuine Coder 09 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 24,50 раз и оно понравилось 37 людям.