Java: Packaging Self-running Jar
I'm trying to package my Java app into self-running jar file. But it always says "Could not find the main class." If you could take a look of the process and tell me what I did wrong, that would be greatly appreciated.
The main method is in TaskManagerFrame, and the content of manifest.mf is the following.
The command to produce the jar file follows.
The jar file is produced, but when double-clicked, it says "Could not find the main class."
jar cmvf manifest.mf taskmanager.jar TaskManager