I'm using openjdk-11, openjfx and Visual Studio Code on Ubuntu 18.04. When importing or using a javafx function, the linting says The import javafx cannot be resolved.
When I try to launch or build the project, it says Build failed, do you want to continue?
I'm using the following VS Code extensions: vscjava.vscode-java-pack, vscjava.vscode-java-debug, vscjava.vscode-maven and redhat.java. It's important to say that I'm doing Maven projects.