Originally posted by Hardik Raja: You mean to say, If I want to include some directory to be in the default classpath, I should add that directory path in PATH environment variable in Windows..? correct ?
Why does one create and set JAVA_HOME enviroment variable..??
When did I say so? "classpath" environment variable keeps the address to the directories where your packages are stored. Don't ever mention the name of the package there. I must be the address till the top level directory inside which the package(s) is/are stored. Not even / or \. eg. "c:\programs\classes" is correct.
"c:\programs\classes\" or "c:\programs\cert" etc. are incorrect Note: cert is a package