I have installed JDK7u60-windows-x64 for my 64 bit HP m/c having Windows 7. now my C:\Java contains both JDK and JRE folder, but when i tried to check the java version post installing, its throwing below error:

C:\Program Files\Java> java -version

Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~2\HP\QUICKT~1\
bin\JAVA_S~1\classes;C:\PROGRA~2\HP\QUICKT~1\bin\J AVA_S~1\classes\jasmine.jar

"JAVA(TM) Platform SE Binary has stopped working"...

Please let me know how to install and set environment variables to make work Java for Windows 7 64 bit m/c.

Thanks in advance..