I've set the correct launch options in the .json file to my knowledge. I've imported the .jar files of java fx to the referenced libraries folder in VS Code but don't understand why I'm receiving this error. I have imported javafx.controls to the reference library, but still get this error.
Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found
My code is fine with no yellow or red underlines and should compile and run but it is not.