I formatted my pc and restored everything back and now I forgot how to install jdk and set the path. I am using windows vista.....
I created a CLASSPATH in system variables as follows
and path in system variables as
and again a new path in temp variables as
when I go into the command prompt and type
C:Program Files\Java\jdk1.6.0_12\bin javac
I am getting a long list of info as expected but when I try to compile a java program from a different directory I get 'javac' error
'javac' is not recognized as an internal or external command
can anybody help me???