Since I use Eclipse in all of my tutorials, I’ll show you how to install java libraries with Eclipse. I use Eclipse because it is free and looks the same on every operating system.
Specifically I’ll show you how to install the very popular Apache Commons Java Library.
Get Apache Commons Java Library
Install Java Library in Eclipse
Here you’ll see a series of images that will walk you through the installation of the Apache Commons library. As you can see, this series of steps will work for any Java Library.
Of course you need to have Eclipse. I use the version of Eclipse named Eclipse IDE for Java Developers. Now open Eclipse and follow what you see in the pictures below.
Right click on the top most folder in the Eclipse Package Explorer and create a new folder
Create a new folder named lib as you see below.
Right click on the top most folder again in package explorer and click import.
Select General and then File System.
Browse to the location for your Java jar files and select them. Click Finish
Right click on the top most folder again in package explorer and click properties.
Click Libraries, Add Jars, Select the jar files and hit OK.
Now if you want to use the Apache Commons library for example, just add the following line of code to your code import org.apache.commons.lang3.*;
That’s it! If you want to learn java, I have a pretty nice Java Video Tutorial.
I hope that helped you out. If you have any questions leave them below.
If you like videos like this tell Google
To make me extra happy, feel free to share it
Till Next Time