I'm getting the following error when I try to run the 'jar
' command in the command line on windows : 'jar' is not recognized as an internal or external command
.
There is a general guess that seems to be right that is I might have the PATH
environment variable incorrectly. But I have already done this, I added the following value to PATH
variable : 'C:\Program Files(x86)\Java\jdk1.8.0_25\bin
'.
I am running a 64 bit windows 8 system. I have also referenced this question from the following link: java 'jar' is not recognized as an internal or external command
I have also tried some of the solutions suggested in the above link, I couldnt add a comment there since my reputation is not much.
Suggestions that I have tried from the above link:
[1]https://stackoverflow.com/a/29180681/7639034
(From the above link, java -version and java -jar are also working. What is wrong with the jar file then?)