-
Notifications
You must be signed in to change notification settings - Fork 70
Linter reports "Package does not exist" error even though code compiles and runs. #317
Description
Hi:
I get a "Package does not exist" error when compiling and running my App.
Even though the code compiles and runs ok, this is still an issue worth looking into as the extension is pretty useless
with your code littered with error messages!
It's a very simple app written to test the extension.
I still get the error even when I copy the library to the working folder.
I have noticed that the error messages are a result of background scanning of code by netBeans? nbjrt...
Environment:
Windows 10.
VSCode: 1.95.0
Oracle Java Extension: 23.0.0
I have set the run configuration environment variable: CLASSPATH to point to my .jar file. the compiler can find it ok.
settings.json file:
{
"jdk.project.jdkhome": "f:\program files\java\jdk-17",
"jdk.verbose": true,
"jdk.runConfig.env": "CLASSPATH=e:\dev\java\lib\*"
}
here is my source:
HelloWorld.zip
Error Messages reported by the Linter:
Messages.txt