making executable jar with jogl

Hi there!
I just played with jogl, and it’s very convenient. I made a very simple demo with a bunch of text and some rotating geometry and it works smoothly.
But how can I made an executable jar that use jogl?
I tried as usual with:

jar cvfm MyClass.jar my_manifest.mft *.class

where “my_manifest.mft” looks like this:


Manifest-Version: 1.0
Main-Class: MyClass
Classpath: .\MyClass.jar

Usually this works with other standard applications. But now it pop up an error saying:“Could not find the main class. Program will exit”.

So I made an executable with exe4j (a proprietary tool), and it works because I added jogl.jar to the classpath, but from a jar of 6 kb now I have an executable of more than 1 mb!

How can I make an executable jar shrinked to the limit?