Hi Diksha, you can follow these steps to download and add Log4j Jars to Eclipse IDE:
Download Log4j Jar files:
-
Go to Apache Logging Services and click Apache log4j.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=5726585936328462945)
-
Click on “Download” on the left side menu.You will always get the latest version here. Click on the ZIP file under Mirrors column.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=4349238308311205589)
-
Click on the highlighted link at the top of the page. Zip file will be saved on your system with in few seconds.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=13085881474619839804)
-
Right click on the Zip file and select “Extract All“. Open the Log4j extracted folder from the saved location.
Add Log4j Jars to Project Library in Eclipse:
- Right click the Project name and navigate to Build Path and select “Configure Build Path“.
- Click on Add External JARS and navigate to the folder where you have kept the Log4j jar files.
- Select the Executable Jar File and click Apply.
- Finally click Apply and Close.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=11174767851577662467)