java 'jar' is not recognized as an internal or external command
Try using this command:
java -version
If it doesn't work that means you failed to properly add path to jdk. If it does work, try using:
java -jar
The path should only contain directories where the OS will look for executables. Strip the trailing "\jar.exe" to set your path as:
(old path variables here);C:\Program Files (x86)\Java\jdk1.7\bin
Thanks To : @stevevls