ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Irfan.Sa...@t-systems.com>
Subject unable to execute JAR file
Date Wed, 18 Jun 2008 07:25:42 GMT
Hi All,

 

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.

 

D:\Irfan\Manvendra Singh java code\Manvendra Singh java code>java -jar
test.jar

Failed to load Main-Class manifest attribute from

test.jar

 

D:\Irfan\Manvendra Singh java code\Manvendra Singh java code>

 

Please find the attached java code and build script.

 

Please help

 

Regards

Irfan.

 


Mime
View raw message