RE: unable to execute JAR file

2008-06-18 Thread Toomey, Kevin H (ATS, IT)
_ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 3:26 AM To: user@ant.apache.org Subject: unable to execute JAR file 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 requir

RE: unable to execute JAR file

2008-06-18 Thread Irfan.Sayed
attached java source file and manifest file. Please help Regards Irfan. -Original Message- From: Taj, Abdul [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 6:23 PM To: Ant Users List Subject: RE: unable to execute JAR file Does the jar have a manifest file that specifies the main

RE: unable to execute JAR file

2008-06-18 Thread Taj, Abdul
. Just google about the manifest file and you will get your answer -t From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 3:26 AM To: user@ant.apache.org Subject: unable to execute JAR file Hi All, I have 10 java

AW: unable to execute JAR file

2008-06-18 Thread Knuplesch, Juergen
Use classname attribut instead of MANIFEST: -- Jürgen Knuplesch Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juni 2008 09:26 An: user@ant.apache.org Betreff: unable to execute JAR file Hi All, I have 10 java

Re: unable to execute JAR file

2008-06-18 Thread Ognjen Blagojevic
[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 loa

Re: unable to execute JAR file

2008-06-18 Thread Henning Bredel
On Wednesday 18 June 2008 09:25:42 [EMAIL PROTECTED] wrote: > 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 > th

Re: unable to execute JAR file

2008-06-18 Thread Prashant Reddy
Google is your friend. http://www.google.co.in/search?q=Failed+to+load+Main-Class+manifest+attribute The first hit from the search result has this link to Java tutorial : http://java.sun.com/docs/books/tutorial/deployment/jar/basicsindex.html To execute a jar using 'java' command, the JAR file

Re: unable to execute JAR file

2008-06-18 Thread Ognjen Blagojevic
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 attr