I have never used JavaFX before and I am trying to get it running in VS Code using the basic Maven project build tools and it creates the project just fine. I then go in and update all the version in the pom.xml file and when I try to run App.java to see if it works, it just gives an error message saying
java runtime components are missing, and are required to run this application
I then went on to download JavaFX runtime separately. I made sure the Java running in the program is the one on my machine but it just refuses to run. I'm on a Mac with an M2 chip - saying that because I know M2 chips have some compatibility issues with some versions of JavaFX.