For a listing, see JDK Tools and Utilities at classpath1:classpath2Ĭlass paths to the JAR, zip or class files. sdkToolĪ command-line tool, such as java, javac, javadoc, or apt.
SdkTool -classpath classpath1 classpath2. The -classpath option is preferred because you can set it individually for each application without affecting other applications and without other applications modifying its value. The class search path (class path) can be set using either the -classpath option when calling a JDK tool (the preferred method) or by setting the CLASSPATH environment variable.