Eclipse - cant add jar to build path. jar is inside the lib folder of project, but not visible

sweet dreams picture sweet dreams · Jul 25, 2012 · Viewed 16.9k times · Source

I manually copied the my sql connector jar to lib folder of my sql jdbc project. I had some old jars already in that folder and which were also easily added to build path before. Now, I forgot how i did it and i don't see that the lib folder when i try to add the jar to build path. How do it ? I want my jar to be a part of my project and not lying in some random folder.

Answer

user1694733 picture user1694733 · Oct 9, 2014

Paste the jar directly inside eclipse using the project explorer to your desired folder and then try to "Add Jar" from Build Path->Configure Build Path->Libraries.