This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add additional jars to build path in eclipse

 
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
Sheriff
Posts: 35977
422
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: 1287
143
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.

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!