What is the use of Order And Export tab in Java Bu

2019-01-21 19:04发布

问题:

What is the use of Order And Export tab in Java Build Path

回答1:

It allows you to do two things:

  • Determine in which order projects and libraries appear in the classpath. If there are any duplicate classes, this determines which version is loaded
  • Determine which projects and libraries will be exported and thus available in other projects that depend on this one.


回答2:

Got some hint here for you:

Order and Export. Order in which projects and libraries appear in the build path and the default runtime classpath; e.g., use classes from a workspace project before using the same classes from an archive library.

Found it on informit.com