Tutorials Point


  Java Basics Examples
  Java Tutorial
  Java Useful Resources
  Selected Reading

© 2011 TutorialsPoint.COM


  Home     References     Discussion Forums     About TP  

Java Examples - set multiple Class Path


previous next AddThis Social Bookmark Button


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.


previous next Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names