Hi all,
i have installed jdk1.7 , now i want to set the class path.. because i am compiling my program its giving an error.....javac is not recognized as an internal or external commond.
please help me to set the class path.......and how to able to run my program.

You need to set path not a classpath for javac (compiler) and java (launcher).

PATH=......;c:\Program Files\Java\Jdk1.7\Bin

In the command prompt type: set path=%path%;<java_home>/bin; The <java_home> is the path/directory where the java was installed.

For example, the java is installed in C:\java,

The java_home is C:\java and the path is c:\java\bin.

Thanks a lot i got it...........


With Regards,
ishlux

please tell me the answer