Why it's failed to load main-class manifest attribute from jar-file?
- by Roman
I have created a jar file in this way jar cf jar-file input-files. Now I try to run it. This does not work: jre -cp app.jar MainClass (jre command is not found). This java -jar main.jar also does not work (Failed to load Main-Class manifest attribute from main.jar).
I also found out that
To run an application packaged as a
JAR file …