taylorialcom/ Tools

Installing Java and JavaFX

Install Java 25 JDK

Figure 1: Java Download)

Install JavaFX 25

Figure 2: JavaFX Download)

Install Scene Builder 25.0.0

Configure IntelliJ

Set the Project SDK

Add JavaFX to Global Library

Set Run Configuration Template for Application

--module-path "C:\Program Files\Java\javafx-sdk-25.0.2\lib" --add-modules=javafx.controls,javafx.fxml --enable-native-access=javafx.graphics

New IntelliJ Project

All of the steps above must be implemented once, but you'll need to do the following for each new IntelliJ project.

Add the JavaFX SDK library

1

You may need to update the version number on the javafx-sdk in a similar way to a JDK version change.

2

If the version of the JDK is different, you will need to use the new version number in the rest of the instructions. E.g., if the version of JDK is 25.0.3, you should replace jdk-25.0.2 with jdk-25.0.3.