I have created a JAR file in this way jar cf jar-file input-files. Now, I\'m trying to run it. Running it does not work (jre command is not found):
jar cf jar-file input-files
You can run with:
java -cp .;app.jar package.MainClass
It works for me if there is no manifest in the JAR file.