Grzesiek:
> I have 2 files in my project : App.java and Foo.java. App is the main
> class.
[quoted text clipped - 7 lines]
> Running App.jar creates Foo.jar. But Foo.jar contains only manifest
> file and no class. What is wrong?
Are you running that on Java1.6 and Solaris?
Earlier Java-versions or other platforms don't support the "e" flag.

Signature
Thomas
Grzesiek - 14 Aug 2007 15:59 GMT
> Grzesiek:> I have 2 files in my project : App.java and Foo.java. App is the main
> > class.
[quoted text clipped - 13 lines]
> --
> Thomas
Hi Thomas,
I use java1.6 and Windows. But i think it is not the case here. The
project is created in NetBeans 5.5.1 and App.jar is also created in
NetBeans. I think that Foo.class created in NetBeans as a part of App
Project is not the same as Foo.class created by "javac Foo.java"
although Foo.java is the same. I doubt wheather Foo.class created in
Netbeans can be used like this:
jar cfe Foo.jar Foo Foo.class
i.e without App.class
Thanx anyway :-)