I am trying to create a runnable jar file. I am using multiple classes and packages.
Windows 7 32-bit. jdk1.7.0_17. jre7.
I am using windows prompt, because i guess there is no other way to create runnable jar file with multiple classes. Right now i am getting this:
C:\Users\Admin\LudumDareDone\bin>java -jar “ludum.jar”
Error: Could not find or load main class Main
i have this manifest:
Manifest-Version: 1.0
Created-By:
Main-Class: Main.java
i applied it with this command:
jar cfm ludum.jar manifest.mf
What i should do? Maybe there is other way to create runnable jar file with multiple classes? I searched answer in Google, but i cant find anything usefull, please give me direct links or answer.