简体   繁体   中英

unable to find a lib folder in my project

I've been working on some project that involves Jar files to be added to build path. but one of my colleagues said that adding the jars to lib folder is advantageous compared to adding it normally.

Now my problem is, in eclipse, I right click and add a java project, but to my surprise I don't find a lib , earlier when I used to do J2EE apps, I used to find that. please let me know how can I fix this.

Thanks

In eclipse when you create a Java project, it doesn't create the lib folder along with it. This is something you want to do manually. At project level you can right click and add the folder. Then you can paste the jars into the folder, select the jars, right click, build path, Add to Build path. Alternatively you can directly drag and drop to your Referenced Library . Both the ways are similar in effect, no difference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM