With a maven project it's a single dependency: org.openjfx:javafx-controls:18.0.1
And a simple plugin (org.openjfx:javafx-maven-plugin:0.0.5? (I think)), https://github.com/openjfx/javafx-maven-plugin has a quick start.
Then: mvn clean javafx:run
No need to tweak your JVM install, the maven downloads everything you need, including the platform binaries.
With a maven project it's a single dependency: org.openjfx:javafx-controls:18.0.1
And a simple plugin (org.openjfx:javafx-maven-plugin:0.0.5? (I think)), https://github.com/openjfx/javafx-maven-plugin has a quick start.
Then: mvn clean javafx:run
No need to tweak your JVM install, the maven downloads everything you need, including the platform binaries.