How to set classpath?
Following example demonstrates how to set classpath.
C:> java -classpath C:\java\DemoClasses utility.demoapp.main
The above code sample will produce the following result.
Class path set.
Advertisement