I need to create .jar using .bat. When I run this command from cmd it is ok:
jar -cMf ../sp.jar META-INF/MANIFEST.MF *class
but when I run batch file (.bat) with this command inside i says:
'jar' is not recognized as an internal or external command, operable program or batch file.
What should I do? When I try in cmd run javac or jar it is ok.