Hi,
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
.;C:\Program Files\Java\jre1.6.0_02\bin
and path in system variables as
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_12\bin
and again a new path in temp variables as
variable name:path
variable value:C:\jdk\bin;.;
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???