Classpath
Sign in to saveClasspath is a parameter in the Java Virtual Machine or the Java compiler that specifies the location of user-defined classes and packages. The parameter may be set either on the command-line, or through an environment variable.
~6 min read
Encyclopedic overview
11 sectionsContents
- Overview and architecture
- Setting the path to execute Java programs
- Supplying as application argument
- Setting the path through an environment variable
- Setting the path of a Jar file
- Adding all JAR files in a directory
- Setting the path in a manifest file
- OS specific notes
- See also
- References
- External links
Classpath is a parameter in the Java Virtual Machine or the Java compiler that specifies the location of user-defined classes and packages. The parameter may be set either on the command-line, or through an environment variable.
== Overview and architecture ==
Excerpted from Wikipedia’s “Classpath” article, available under the CC BY-SA 4.0 licence.