Results 1 to 3 of 3

Thread: [resolved] Setting up OpenGL in Java

  1. #1

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    [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

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: Setting up OpenGL in Java

    Have you copied the jogl.dll file to this directory:

    C:\j2sdk1.4.0_01\jre\lib\ext

  3. #3

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    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
  •  



Click Here to Expand Forum to Full Width