This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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...