can i set Class path in the environment variables ?
Mark Jeffcoat - 25 Sep 2006 18:35 GMT
> can i set Class path in the environment variables ?
Yes. The variable's name is CLASSPATH.

Signature
Mark Jeffcoat
Austin, TX
i am not able to rum my prog in cmd, its getting compiled but not
running showing the error
Hendrik Maryns - 26 Sep 2006 08:44 GMT
naren schreef:
> i am not able to rum my prog in cmd, its getting compiled but not
> running showing the error
Yes?
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Tor Iver Wilhelmsen - 27 Sep 2006 17:50 GMT
> i am not able to rum my prog in cmd, its getting compiled but not
> running showing the error
You forgot to show us the error message; but you need the same
classpath when running as when you compiled. If you use a CLASSPATH
env var you should be fine - but remember to also add the dir that is
the root of you class' package, e.g.
java -classpath some\directory;%CLASSPATH% your.package.and.Class
on Windows.