Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot use jar command on windows

The jar command is not working on my box. I have downloaded the jdk, and set the envar "Path" to include the path to the jdk \bin directory. However, I still get that annoying message, "'jar' is not recognized as an internal or external command, operable program or batch file." Does anyone have any suggestions to solve this problem?

like image 731
MirroredFate Avatar asked Oct 10 '22 20:10

MirroredFate


1 Answers

I think from the error message that you're using Windows?

If so, did you try it in a command prompt that you opened after changing your path using the GUI? And did you double check for typos in the path you added?

You can always try running "echo %PATH%" to check your path, and ensure your change is both showing up and error free

like image 129
Randomness Avatar answered Oct 14 '22 02:10

Randomness