windows - java 'jar' is not recognized as an internal or external command -


i'm getting following error when try run 'jar' command in command line on windows : 'jar' not recognized internal or external command

the general solution seems need add jdk bin folder path in environment variables. have done this, added following path variable : ...; c:\program files\java\jdk1.8.0_40\bin\;

though i'm not sure if having jdk reside in 'program files' instead of 'program files x86' affects this. i'm on 64 bit windows 64 bit java. thanks

the path should contain directories os executables. strip trailing "\jar.exe" set path as:

(old path variables here);c:\program files (x86)\java\jdk1.7\bin

thanks : @stevevls


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -