[EMAIL PROTECTED] 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.
-Ognjen
[1]
http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]