I am trying to install JDK8 on my Debian 10 virtual machine, but it seems that the only version available is JDK11. I need to run JavaFX for a school project, which is not included in JDK11. How can I fix this issue?
I am trying to install JDK8 on my Debian 10 virtual machine, but it seems that the only version available is JDK11. I need to run JavaFX for a school project, which is not included in JDK11. How can I fix this issue?
2
Answers
Sdkman is your friend. Give it a try
If you use JDK 11 and need JavaFX then you’ll need to include some JavaFX libraries.
If you are using Maven you can include these dependencies:
If you want to include the JARs manually then you can download them from those artifacts on a Maven repository.