pratik gaurav wrote:How to set the Classpath in linux ?
On Linux, you can set environment variable named CLASSPATH and assign values to it.
However, generally, it is not recommended to set this environment variable unless you need all
Java applications on your environment to use specific classes defined in CLASSPATH.
A better option would be to use -cp or -classpath argument while compiling/executing Java codes.
HIH.
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)