Did you take a look at the manifest file from the created jar file?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Nov 12, 2001
Yes, I did... I extracted the jar file and found a META-INF directory which contained a MANIFEST.MF file...
The MANIFEST.MF file's contents were:
Is this correct? How do I invoke an executable jar from the command line and/or ant target?
Many, many thanks!
All the best,
Joined: Jul 11, 2001
That looks correct. If I remember correctly, though, the file needs to have *two empty lines at the end* (that is, after Main-Class entry). You should check for that...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Help with building executable jar with ant.