running 'java -version' on my cmd prompt gives me the version of my JRE but when i run my programs as 'javac abc.java' it says 'javac' is not recognised as an internal or external command, operable program or batch file.
I have set the Path variable by appending C:\Program Files\Java\jre6\bin so that it looks like this :
"C:\WINDOWS\system32;C:\WINDOWS;C:\WI
IBRV\BIN;C:\Program Files\TIBCO\TIBR
rShell\v1.0;C:\Program Files\Enterpr
Imaging\;C:\Program Files\Common Fi
in;C:\Program Files\Java\jre6\bin"
What should i do?