Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add additional jars to build path in eclipse  RSS feed

 
Swapna latha
Ranch Hand
Posts: 79
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Already few jar files are added to lib folder and they are added to project. By the way we are not using maven here. Its a very old project. I have added extra 20 jars to the lib folder and if i have to add to build path, i am going to each and every jar and checking whether its added to build path or not. If not , i am adding to build path by clicking Add to build path. Is there any way to add the newly added 20 jars to build path, instead of checking each and every  jar.

Thanks & Regards,

Swapna.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36171
439
Eclipse IDE Java VI Editor
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swapna,
The alternative is to open the .classpath file in the project. This shows you the classpath as a text file. You can copy/paste in the jar names. It's still manually adding them, but less mouse clicks.
 
Swapna latha
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Swapna,
The alternative is to open the .classpath file in the project. This shows you the classpath as a text file. You can copy/paste in the jar names. It's still manually adding them, but less mouse clicks.


Thank you sir.
 
Ron McLeod
Saloon Keeper
Posts: 1364
193
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to stay in the IDE, select all the jars to want to add, right click on one of them to open the menu, and then select Build Path followed by Add to Build Path.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!