How to set multiple classpath in java?
Following example demonstrates 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.
About Blog No Baap -
Since 2016 BlogNoBaap has been bringing you the very best in all types of web resources. Posted daily, and delivered straight to your inbox each morning.