我有现有的Java项目,我正在使用JavaFX . 现在我将它转移到Java 11.我已经下载了openjfx并将其lib目录路径添加到外部库 . 在VM选项的运行配置中添加以下内容: - module -path / Users // Downloads / javafx-sdk-11 / lib --add-modules = javafx.controls,javafx.fxml JavaFX类被识别但是当我尝试构建时项目或运行我得到模块未找到错误 .
enter image description here

enter image description here

enter image description here