Following example shows how to set multiple classpath. Multiple class paths are separated by a semicolon.
c:> java -classpath C:\java\MyClasse1;C:\java\MyClass2
utility.testapp.main
Result
The above code sample will produce the following result.
Class path set.
No comments:
Post a Comment