What is Java classpath

Published on Author bloggerfiveLeave a comment

It is path to directory or list of directory where java classes and packages are located.

When you run the java program, JVM will find and load classes.

The class path will give direction to the JVM or class loader where to find those java classes.

It can be set by environment variable or command line.

Comments

comments

Leave a Reply

Your email address will not be published. Required fields are marked *