java with windowsxp

i cannot compile java programmes.When i type "javac <filename>" in command windows an error message pops up saying "javac.exe encountered a problem,please report this problem to microsoft"Is this problem of windows xp or it is really of javac.exe problem.
[282 byte] By [ sudhir_ptl] at [2007-9-26 17:19:38]
# 1
Looks like your javac corrupted. Reinstall JDK./Sreenivasa Kumar Majji.
skmajji at 2007-7-2 22:13:15 > top of Java-index,Developer Tools,Java Compiler...