OpenGL exacutable .Jar problem

Hi, i’m new to openGl and i’m trying to create a window in java with Jogl, i’m doing this tutorial: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=01

I’m using Borland Jbuilder 2005. In the program, when i test the script, it works fine, i see the window and all good. But when i create the .jar file and the executable y get this error:


Failed to load Main-Class manifest attribute from […url to file…]

What i’,m doing wrong?

Thanks :slight_smile:

Well, the jar needs a meta-inf/manifest.mf file with that main-class attribute…

However, there will be other problems like loading the native library (additionally users will need to download all native libraries, which is sorta wasteful).

Try using webstart for now. You can find a quick webstart tutorial here:
http://www.cokeandcode.com/webstarthowto