Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

fmorat
This post was updated on .
I built an macos image of my application but when I try to run it I get this exception: Exception: com.jogamp.opengl.GLException: Profile GL4 is not available on null: but: []


The same application runs find when I run it within eclipse. I've included the jar files gluegen-rt-natives-macosx-universal.jar and jogl-all-natives-macosx-universal.jar.

Any ideas on what I should be checking?


Any ideas are extremely helpful!
Reply | Threaded
Open this post in threaded view
|

Re: Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

gouessej
Administrator
Hello

Why not using jogamp-fat.jar? Please indicate the whole classpath. How do you run your program in command line?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

fmorat
So I used the java command jlink to build a self contained java application. I include all the necessary jar apps. It builds a self contained java app in MacOs. It produces a folder with a native macos executables. Then I simple click on the executable to launch the app and I get that error.

I will try your suggestion and use the fat jar to see if that helps.
Reply | Threaded
Open this post in threaded view
|

Re: Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

fmorat
In reply to this post by gouessej
I added jogamp-fat.jar and that solved the problem! Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Exception: com.jogamp.opengl.GLException: Profile GL4 is not available

gouessej
Administrator
You're welcome :)
Julien Gouesse | Personal blog | Website