Problem :
I get the following error when I execute jar command in cmd.
'jar' is not recognized as an internal or external command, operable program or batch file.
I tried very hard to solve this problem by myself by putting the path of the jar.exe file in my "path" variable in My computer > > settings > advanced system settings > environment variables.
This is how i tried to fix my issue -
(my old path variables here)C:\Program Files (x86)\Java\jdk1.7\bin\jar.exe
I properly saved all the changes and also tried to run jar in cmd prompt again and but I got the same error.
Please let me know my mistake and how to fix it. I need to create jar files via the command line.