

To run the JavaFX application, you can open the Maven Explorer, expand hellofx > Plugins > javafx and run the Maven goal: javafx:run. Please make sure you have JDK 11 installed locally and set the installation path to the setting.

The generated project requires at least JDK 11 to launch it. Note: The following guidance only works for projects managed by Maven.

Step 1: Install the Extension Pack for Java.You can create a new JavaFX application with just a few steps in VS Code: Develop JavaFX applications Create a new JavaFX project If you run into any issues when using the features below, you can contact us by entering an issue. To achieve that, you need to install the Extension Pack for Java, which includes all the required extensions to develop Java GUI applications. You can develop Java GUI applications in Visual Studio Code easily. Configure IntelliSense for cross-compilingĮdit Working with GUI applications in VS Code.
