• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

why Java build path in Eclipse when the Jar files are available in Lib folder

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


ECLIPSE : why the Java Build path in Eclipse when the Jar files are available in Lib folder
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Java Build path is used by Eclipse to track all of the JARs you need to compile and run. Just because you place JARs in a lib directory doesn't automatically mean that you want to use all of them. And not everyone uses lib directories (none of my projects have one). If you have multiple projects, each using a similar set of JARs, you will soon start looking for alternatives to the lib directory also.
 
Saloon Keeper
Posts: 26538
187
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Raghavendra!

Like Peter, most of my projects don't have a lib folder either - they're built using Maven which has its own concept of where things should be located.

Eclipse makes no assumptions on the directory structure of a project and what goes where. This is good, since I've had a lot of trouble in the past with IDEs that weren't as flexible that way.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic