MyProject
/ \
classes source
/ | \ \
MyApp.class | app.jar MyApp.java
manifest.txt
I have app.jar inside of classes folder. Now I want to execute the app.jar file.
but when i run using "java -jar app.jar", I got error "no main manifest attribute, in app.jar".
Tell me Why am I getting this error? and How to execute this JAR file.