How to Import a Java Library (JAR) Since I use the VS Code IDE, I will provide instructions here on how to import the JAR file into a Java project opened in VS Code. Open a Java project in VS Code and click on a .java file. Towards the bottom of the File Explorer window, you should see a dropdown menu called Java Projects. Click on the Java Projects menu and locate the Referenced Libraries folder. Hover your cursor over the Referenced Libraries folder and click on the "+" icon. Then add the JAR file that you downloaded. Done!