Homemade Java Libraries - Eclipse

I would like to create a library of classes that I use frequently in different projects.

How would I go about :

  1. Creating the library.

  2. Use the library in other projects.

Any help is much appreciated.

(Please don’t link me to a SDK documentation or an API)

  1. Create a new project for your library and start coding
  2. Open the properties of the project you want to use the library with and go to the “Java Build Path” section (right click on project, then Build Path->Configure Build Path…). Click on the Projects tab and add your library project. If you want to deploy your library with the project check out the Export tab as well. Now you can access the library classes from within your other project.

Thanks a lot. This is going to help me and save me some time. ;D