Java Examples - View classpath?

Advertisements


Problem Description:

How to view current classpath?

Solution:

Following example demonstrates how to view current classpath using echo command.

C:> echo %CLASSPATH%

Result:

The above code sample will produce the following result.

.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip


Advertisements
Advertisements