0

I want to import javafx media player but it doesn't appear, I can just import java and javax tools.

Please how can I import javafx in a maven project??

Federico klez Culloca
  • 24,336
  • 15
  • 57
  • 93

1 Answers1

0

Go to openjfx.io. Open the Getting Started section. Follow the net beans instructions in the sections titled "JavaFX and NetBeans", and "Modular with Maven":

If you need to use external 3rd party libraries which don't work well with JavaFX Modules, then follow the instructions "Non-modular with Maven" instead.

I advise you to use maven and follow the info on adding the media module here:

OR, use Bellsoft Liberica “Full JDK” or an equivalent that includes JavaFX modules.

Make sure if you use Liberica that you choose "Full JDK", not "Standard JDK".

jewelsea
  • 141,332
  • 12
  • 351
  • 391