[resolved] Setting up OpenGL in Java
Has anyone here succeeded in running OpenGL in Java?
Even after reading through a number of tutorials, i'm still having problems :|
I've got all required files, and set up class path etc, yet still get the error:
Exception in main (java.lang.UnsatisfiedLinkError: no jogl in java.library.path
this is created from the System.loadLibrary("jogl") call, even though i've set up the java.library.path environment variable and it includes jogl.dll
Any suggestions? THanks (I'm using windows if that helps)
Re: Setting up OpenGL in Java
Have you copied the jogl.dll file to this directory:
C:\j2sdk1.4.0_01\jre\lib\ext
Re: Setting up OpenGL in Java
Thanks, I've now fixed it. Turns out the problem was actually coming from System.loadLibrary(). At first it was complaining about jogl.dll, then when I fixed it, there was still an error with jawt.dll, even though that was certainly in the same folder.
Anyway, it was fixed when I just removed that line entirely :S...turns out you don't need it.