-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
Description
Environment:
- VS Code Version:1.104.0
- Extension Version: 0.29.2
- JDK Type & Version: JavaSE-1.8
- OS Type & Version:
Windows
Step to Reproduce:
Open a folder containing Java code and a.classpathfile.
Ctrl+Shift+P, Java: Configure Java Runtime
Navigate to classpath->libraries
Click "Add Library"
Select a .jar file using the picker
The path to the picked jar file gets added as a relative path. Then, when you click Apply Settings, it throws an error.
See example adding common-image-3.2.1.jar by choosing the file in a file picker and then clicking "Apply Settings":
Expected Behavior:
"Add Library" button picker adds the jar with the absolute path or otherwise avoids the error.
Actual Behavior:
"Add Library" button picker adds JAR with a a relative path, and clicking "Apply Settings" throws the error Failed to update classpaths: Error: Path for IClasspathEntry must be absolute:
Related Issues: