ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <>
Subject Re: unable to execute JAR file
Date Wed, 18 Jun 2008 08:16:08 GMT wrote:
> I have 10 java files and I have written Ant build.xml to compile and 
> create JAR file which contains the .class files. Now my requirement is 
> that I need to execute/install the JAR file but unfortunately I can’t do 
> this as I am getting following error.
> Failed to load Main-Class manifest attribute from

You should read a bit about manifest files. See this link[1].

In short, JVM doesn't know which class has the main method to be used as 
the entry point to your application.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message