jogl buildpath

i am on the problem that my jogl code not work after exporting with eclipse.
inside eclipse the jogl program works well.

now i google that it is possible that there is an error
caused by missing jogl.jar & co

the error is when starting jar : could not find the main class. programm will exit

my question: what and where do you set up in export to use jogl in an jar?
do you copy the jogl.jar files in the workspace/project folder?
is there anything to setup in classpath inside exclipse or after in the jar itself.
what is with the manifest.mf, is there also any kind of jogl entry?
in short words: what of jogl belongs where?

thanks for any help

You have to provide jogl.jar and the natives modules to allow your program to work. Then, use the option -cp to tell Java where to find JOGL when you launch your JAR from command line (java -jar -cp… your_program.jar). However, your problem seems to come from the manifest file that has no attribute “Main-Class:”. Maybe there is an option to do it. In command line, you have to write a manifest file (with a line to indicate where the main class is) and to use it to make a JAR. I use Eclipse but not for my export, I prefer using ANT inside Eclipse