Command-line options
You can specify the options on the command line while you are starting Java™. They override any relevant environment variables. For example, using -cp <dir1> with the Java command completely overrides setting the environment variable CLASSPATH=<dir2>.