Netbeans Jar files

Permabanned
Joined
18 Jul 2006
Posts
1,222
Location
Frodsham
i have created a program, but it wont run from the JAR file. I have added a manifest file in the meta-inf dir with a mainclass tag, but it says fatal exception and exits. I cant figure out what is going on? i have googled but nothing has helped.
 
Make sure your manifest file is correct. One strange thing I noticed with manifest files is you seem to need two carriage returns after Main-Class: Whatever for some reason.
 
Last edited:
Una said:
Make sure your manifest file is correct. One strange thing I noticed with manifest files is you seem to need two carriage returns after Main-Class: Whatever for some reason.
I thought it needed just the one blank line?
 
Back
Top Bottom