Re: Creation of an executable jar problem

2005-02-01 Thread Eric Rotick
I've created the manifest in three ways and the results are always the same. I've tried creating it by hand, via the nested element within jar and via the separate manifest task. My feeling is that there can be nothing wrong with the manifest since, when the jar is recreated via the command line w

Re: Creation of an executable jar problem

2005-02-01 Thread Eric Giguere
Do you have your Main-Class entry in the manifest? HTH. Eric. Eric Rotick wrote: I've created an executable jar. When I run it with java -jar myjar.jar I get the NoClassDefFoundError: error. I've looked in the list archives and there are several posts about ant not creating an executable jar correc

RE: Creation of an executable jar problem

2005-02-01 Thread Dominique Devienne
> From: Eric Rotick [mailto:[EMAIL PROTECTED] > > I've created an executable jar. When I run it with > > java -jar myjar.jar > > I get the NoClassDefFoundError: error. > > I've looked in the list archives and there are several posts about ant > not creating an executable jar correctly but none

Creation of an executable jar problem

2005-02-01 Thread Eric Rotick
I've created an executable jar. When I run it with java -jar myjar.jar I get the NoClassDefFoundError: error. I've looked in the list archives and there are several posts about ant not creating an executable jar correctly but none of these come to any real conclusion as to why. I've extracted t