Java Examples - Set Multiple Classpath

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

JAVA EXAMPLES - SET MULTIPLE CLASSPATH

http://www.tutorialspoint.com/javaexamples/env_multiple_classpath.htm

Copyright tutorialspoint.com

Problem Description:
How to set multiple classpath?

Solution:
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.
Class path set.

You might also like