Skip to content

sde-coursepack/JavaFXInstallCheck

Repository files navigation

JavaFX Install Check

Installation

This implementation of JavaFX requires JDK 21.0.5, you must install JDK 21.0.5 and JavaFX 21.0.5 in order to run it. See class notes for installation links and guide.

THIS MAY NOT WORK WITH JDK 21.0.4!

To Run from Terminal

To run, simply do:

./gradlew run

In your terminal

To Run from IntelliJ

To run HelloWorld.java from IntelliJ, go to modify run configurations and add the following VM Arguments:

--module-path "[PATH_TO_JAVAFX]" --add-modules javafx.controls,javafx.fxml

Replacing [PATH_TO_JAVAFX] with the path to the JavaFX lib folder on your computer (for instance, on my Windows machine, it's C:\Program Files\JavaFX\javafx-sdk-21.0.5\lib)

So for instance, on my machine, my VM Arguments are:

--module-path "C:\Program Files\JavaFX\javafx-sdk-21.0.5\lib" --add-modules javafx.controls,javafx.fxml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages