could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg
I want to run the servlet program but suddenly the following errors start coming when i tried to compile my program...
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Program Files\Java>javac -help
'javac' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Java>java -version
Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'
Thanks in advance..