Od verzije JDK 6, program može sam da napravi manifest fajl sa
kojim se može pokrenuti .jar iz Windows-a.
http://java.sun.com/docs/books...ial/deployment/jar/appman.html
--------------------------------------------------------------------
The 'e' flag (for 'entrypoint'), introduced in JDK 6, creates or overrides the manifest's Main-Class attribute. It can be used while creating or updating a jar file. Use it to specify the application entry point without editing or creating the manifest file.
For example, this command creates app.jar where the Main-Class attribute value in the manifest is set to MyApp:
jar cfe app.jar MyApp MyApp.class
----------------------------------------------------------------------
Probao sam i radi, na moju sreću.
Početnik sam u Javi i sa manifestom sam se mučio danima.