How do I run my opengl application?

I´m using NetBeans opengl pack.

I made a simple opengl application that I would like to run without using NetBeans.

In the folder C:…\NetBeansProjects\myApp\dist-windows-amd64 there is a jar file and some dll files. myApp.jar is not possible to start, no jar file starts in the whole myApp folder. What am I doing wrong?

Actually using windows double clicking on your myApp.jar should work. Please use the command line, cd into the right directory and try java -jar myApp.jar and post the error message here.

Sometimes the problem is because of a failed attempt to “install” jogl manually by copying the jars/dlls to some system or jre folder. If you did so, remove any occurance of jogl/gluegen jars and dlls outside of your project folder and the netbeans profile directory from your system and try again.

Hmm, it works if I start the application using the command line, but not if I doubble click on the jar file.

How come?

I will try that. Thanks!

Is java started when double clicking on the jar? Please post any error message you get as exact as possible. Maybe an archiver tool like winzip grabbed the extension.