JDK11以后就把JavaFX分离出来了,而vscode支持的是JDK11以后的版本。所以就算你下的是JDK11以前的版本在vscode上也不能使用。下面我们将详细介绍vscode的javafx的配置及使用。 首先因为JDK11以后的版本分离了JavaFX,所以需要我们自行去下载JavaFX,(记住下载的JavaFX要与 ...
在launch.json中点添加配置,将如下的代码复制到launch.json中: { "type": "java", "name": "Current File", "request": "launch", "vmArgs": "--module ...
This tutorial is for those of you who have been coding in VS Code for this entire class. Note: If you have IntelliJ already installed in a convenient machine, then I highly recommend using that ...
Todos os imports de javafx estão em vermelho, o que significa que o vscode não sabe onde encontrar esses pacotes. Isso deverá criar um arquivo .vscode/settings.json referenciando todos os .jar que ...