\"Libraries\" page, I can\'t figure out what the difference is between the \"Add JARs\" and \"Add External JARs\" butt开发者_如何转开发ons" />
开发者

What's the difference between "Add JARs" and "Add External JARs" in Eclipse?

开发者 https://www.devze.com 2023-04-13 05:11 出处:网络
In a project\'s Properties page, under \"Java Build Path\" -> \"Libraries\" page, I can\'t figure out what the difference is between the \"Add JARs\" and \"Add External JARs\" butt开发者_如何转开发ons

In a project's Properties page, under "Java Build Path" -> "Libraries" page, I can't figure out what the difference is between the "Add JARs" and "Add External JARs" butt开发者_如何转开发ons.


Add Jar - to include jar files in you build path which are already present in your project.
Add External jar - used to include jar files which are 'outside' your eclipse project workspace folder. They will either be linked or copied.


'Add JARs' is for adding jar files that are in your project. They are referenced relative to the project directories.

'Add External JARs' is for adding jar files that are elsewhere on your filesystem. They are referenced with absolute paths.


Add External jars: are for adding jars from your filesystem. Add Jars: adding jars from with in the same project, once you click on Add jars you will see all the jars from the same project.

Regards, http://javaho.wordpress.com

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号