Hello everyone!
I wanted to start learning the JavaFX with IntelliJ IDEA, and seen this source (https://www.pragmaticcoding.ca/beginners/part1) recommended at many places.
I tried to follow what was written down, but ran into an error during compilation. I thought maybe I messed up something, so downloaded the samples from the repository (https://github.com/PragmaticCoding/AbsoluteBeginnersFX), but the error is the same. As I try to run the Main.java file from the src/main/java/ca/pragmaticcoding/beginners/part1, I get the error message on the picture attached to this question.
For Java, I use
java version "22.0.2" 2024-07-16
Java(TM) SE Runtime Environment (build 22.0.2+9-70)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing)
and for IntelliJ IDEA I use the version
2025.1.1.1 (Community Edition)
Thanks in advance for any help.