

Once you have successfully added the user library, you need to add the user library to your project's build path. If the location looks valid, click "OK" until you exit the "Preferences" window entirely. By now, you should be seeing something similar to:

Browse to the jar file(s) required for the library and click the "Open" button. Then, you need to click the "Add External JARs." button to add the jar file. Enter the library name and click the "OK" button (leave the "System library" checkbox alone). Navigate to "Java » Build Path » User Libraries" on the left-hand side and click the "New" button. To get started, open the "Preferences" window in Eclipse. Once you know where the files are located, you can add a user library to Eclipse. This will be different for different versions of log4j and different third-party libraries. In the above output, the jar file is in apache-log4j-1.2.17/log4j-1.2.17.jar and the directory apache-log4j-1.2.17/site/apidocs contains the API documentation. You need to locate the jar file(s) for the library and where the API documentation is stored. Tomato:Libraries sjengle$ ls apache-log4j-1.2.17/site/īuilding.html index.html project-reports.htmlĬhanges-report.html integration.html publications.htmlĭependencies.html license.html source-repository.html Tomato:Libraries sjengle$ ls apache-log4j-1.2.17/
WHERE DO I PLACE JAVA LIBRARIES ON MY MAC FOR ECLIPSE ARCHIVE
For example, downloading and extracting the archive file for log4j v1.2.17 includes the following files: The first step is to download and extract the library from its website.
