Thread: Jar Files
View Single Post
  #1 (permalink)  
Old 05-07-2007, 09:44 PM
Alan Alan is offline
Member
 
Join Date: May 2007
Posts: 39
Alan is on a distinguished road
Jar Files
Hello everybody
I am working with JBuilder 2005 and I need to generate an jar executable from my application. I have been searched and I've found that I have to create a main.mf file and the content of the file must be:

Main-class: classMain

after that in command line I have to do this:


“C:\filesprogram\Java\jdk1.5.0_06\bin\jar” cvfm file.jar Main.mf *.class

It work, it creates me a jar file, but when I execute in my application:


Failed to load Main-Class manifest attribue from
application rout

I dont know why, do you know?
I hope so!
thank you
alan

Last edited by Alan : 06-01-2007 at 03:39 AM.
Reply With Quote
Sponsored Links