add external JARs to java vscode 1

add external JARs to java vscode

1. Add the jar to a folder you prefer, e.g. a new directory "lib" in
the project folder.
2. Add a line like: 
to your .classpath.
3. Done. You can simply import it as you are used to.

Here is what the above code is Doing:
1. It’s creating a new directory called lib in the project folder.
2. It’s adding the jar file to the lib directory.
3. It’s adding the jar file to the classpath.

Similar Posts