How to Get Jar References in Java Project
The Java Eclipse software lets you import a JAR library file, so you can use the files as references for your existing code. JAR files make programming more convenient, because they contain classes that perform functions, so you do not need to re-program the same functions. You must import these files before you can use them as references in your projects.
Instructions
-
-
1
Open the Java Eclipse software on your desktop and open the Java project you want to use to get the JAR references.
-
2
Click the "File" menu item and select "Import." Click "File System" in the sub-menu selection. Click the "Libraries" tab to see a list of current libraries.
-
-
3
Click "Add JAR" to open a dialog window. Choose the JAR you want to reference in your project and click "OK." Click "OK" in the main configuration window to close the window and return to the main Eclipse layout.
-
4
Double-click the "src" directory in the left panel. A list of libraries display. Double-click the package you just imported. You can view the list of JAR methods you can reference in your Java code.
-
1