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
Article
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 ==
Connections
command-line interface
Entity
Java virtual machine
Entity
Java platform
Entity
Linux
Entity
Microsoft Windows
Entity
Java
Entity
Q11368
Entity
macOS
Entity
colon
Entity
semicolon
Entity
class
Entity
software library
Entity
Q230724
Entity
Java Development Kit
Entity
Java Platform, Standard Edition
Entity
Java archive
Entity
Java bytecode
Entity
environment variable
Entity
Javadoc
Entity
Java package
Entity