i want to install JavaFX in VSCode. I downloaded the SDK and added the files with the Referenced libaries and they also appear in the settings.json. So I added the Files correctly. I also addes this in the launch.json:
"vmArgs": "--module-path C:/JavaFX/lib --add-modules javafx.controls,javafx.fxml,javafx.web,javafx.graphics"
But still every time I try to run my programm this appears:
App.java:1: error: package javafx.application does not exist
import javafx.application.Application;
App.java:2: error: package javafx.event does not exist
import javafx.event.ActionEvent;
App.java:3: error: package javafx.event does not exist
import javafx.event.EventHandler;
App.java:4: error: package javafx.scene does not exist
import javafx.scene.Scene;
App.java:5: error: package javafx.scene.control does not exist
App.java:6: error: package javafx.scene.layout does not exist
App.java:7: error: package javafx.stage does not exist
App.java:9: error: cannot find symbol
I don't know what to do anymore I tried to follow many tutorials but not one helped.