< Advanced Java

In Java, a dependency is a package requirement for your program.

If you restrict yourself only to code within your program, then you can construct a JAR file with all the necessary code. However, if you code requires a third-party library (e.g. an improved widget interface), it will not be included in the JAR file simply by compiling your code.

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.