classpath
Synopsis | ||
classpath | prints the current classpath | |
classpath | <url> | adds the supplied url to the end of the classpath |
classpath | --clear | clears the classpath |
classpath | --refresh | cause classes loaded from the classpath to be reloaded on next use |
Details | ||
The classpath command controls the path that the command shell uses to locate commands to be loaded. By default, the shell loads classes from the currently loaded plug-ins. If the shell's classpath is non-empty, the urls on the path are searched ahead of the plug-ins. Each shell instance has its own classpath.
If the <url> argument ends with a '/', it will be interpreted as a base directory that may contain classes and resources. Otherwise, the argument is interpreted as the path for a JAR file. While "file:" URLs are the norm, protocols like "ftp:" and "http:" should also work. |