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
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
> 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
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