-
Notifications
You must be signed in to change notification settings - Fork 901
Failed to automatically set-up a JavaFX Platform - Kali Linux #6105
-
I am using NetBeans to study programming with Java. When I create a project using Java FX, I receive this error message. I did some research and found out that I need to install JDK 8.0. I installed OpenJDK 8.0.322, and I should be able to switch from version 11 (default) to version 8.0.322 in the platform manager, but I can't. Can someone help me? |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 3 replies
-
try using the maven "Simple JavaFX Maven Archetype" project template when you create a new project. This won't require any setup. You can also use any JDK version you like, e.g. JDK 17 which is the latest LTS release. The ant project templates are fairly dated and require a JDK which bundles JavaFX. |
Beta Was this translation helpful? Give feedback.
All reactions
-
i receive this message, is it ok?
|
Beta Was this translation helpful? Give feedback.
All reactions
-
should be ok. I think the deprecation warning is already fixed for the next NetBeans release. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you |
Beta Was this translation helpful? Give feedback.
try using the maven "Simple JavaFX Maven Archetype" project template when you create a new project. This won't require any setup. You can also use any JDK version you like, e.g. JDK 17 which is the latest LTS release.
The ant project templates are fairly dated and require a JDK which bundles JavaFX.