|
-
Oct 8th, 2005, 10:17 AM
#1
Thread Starter
Fanatic Member
[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)
Last edited by sql_lall; Oct 8th, 2005 at 11:31 PM.
Reason: resolved
sql_lall 
-
Oct 8th, 2005, 04:50 PM
#2
Frenzied Member
Re: Setting up OpenGL in Java
Have you copied the jogl.dll file to this directory:
C:\j2sdk1.4.0_01\jre\lib\ext
-
Oct 8th, 2005, 11:31 PM
#3
Thread Starter
Fanatic Member
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.
sql_lall 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|