posted 21 years ago
Hello all, the questions seems not that hard, but I can't figure it out. What I want to do is create an executable jar.
But my directory structure is like this
In my jar, I want to include the lib (for my L&F), the resources (for .properties and images) and the classes tree, starting at the /net.
I created a manifest file, called mainClass.txt (also had other names, but no effect) which looked like this:
Now, I jarred everything up using
This works, but when double clicking on the .jar file, it gives an error about an incorrect manifest, and when I open the jar file with Winzip, I see the manifest, but it does not containt the Main-Class line, only a version number, and something else (can't remember which line).
What am I doing wrong??
Thanks for any replies,
Erik Pragt
[ January 12, 2004: Message edited by: Erik Pragt ]
[ January 12, 2004: Message edited by: Erik Pragt ]