I am writing a java program and want to include 30 or so jar files in the class path.
When I go to Project/Properties/Java Build Path/Libraries I can add jar files one at a time. Is there a way I can indicate that all the jar files in a particular folder are to be included in the build?
Russell Bateman Messages: 3295 Registered: July 2009 Location: Provo, Utah, USA
On 11/2/2012 10:58 AM, Larry Parker wrote:
> Choose the option just below "Add JARs..." which is "Add External
> JARs.." and shift-click or ctrl-click the jars you want added. That's
> how I add multiple jars.
> I'm pretty new to eclipse so if there is a better way then I would like
> to know too. :d
If you have a set of disparate JARs that you keep wanting to add to new
projects you're creating frequently, there's a concept of User Library
you can use to create the collection, then you just add that collection
However, this method plays havoc with .classpath and version-control
systems since it always results in external (non-workspace) paths.