In this post, we are going to how to add the jar files to the eclipse project.
First thing that we need to achieve this is to download the jar file that we want to add/export into our eclipse project.
After downloading the desired jar file, we need to create the eclipse project in which we are going to add the jar in the very picture.
The step by step process is done in the following way.
1) DOWNLOAD THE JAR FILE
Suppose you are working with the excel sheets using java and you need to add that jar file to your eclipse classpath.
You need to download it first. For that google like below as shown in the screenshot.
Click on the first link.
It will open a new webpage like following. In that click on the link provided in front of download box. The desired link is underlined with red line.
Once you click on that link, the jar file will get stored in Downloads folder in your machine. It will look something like this.
Now you are done with the first step.
You need to add this jar to the eclipse project. This starts our step 2.
2) ADD DOWNLOADED JAR TO ECLIPSE PROJECT
Open eclipse and right click on the project for which you want to add the jar file. After right clicking on it, new options menu will come up; select Properties from that menu which lies at the bottom of the selection menu. Shortcut for this thing is Alt+Enter.
Following screen shot will clear all of your doubts.
Once you click properties, you will see the default structure/build path of the project. Click on Add External Jars in that window as follows.
Select the jar that you want to add to your eclipse project. Select it from the list of files that you have in your system as follows
And click on Open and then OK.
You will see that the jar jxl-2.6.jar file has been added to your eclipse project. This will complete your second and step of this post thus marking the end of this it.
Thank you for having a patient read. Suggestions are welcome.