2

My first time playing around with JOGL, and I get this:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.jogamp.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:117)
    at com.jogamp.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
    at com.jogamp.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.jogamp.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
    at com.jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:56)
    at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1145)
    at tut.Main.main(Main.java:10)

I looked around and found nothing on how to add gluegen-rt or anything else to java.library.path.

Qantas 94 Heavy
  • 15,750
  • 31
  • 68
  • 83
Marcus
  • 127
  • 1
  • 3
  • 11

1 Answers1

3

See the answer at "How to set the java.library.path from Eclipse". Basically, there is a project configuration for "Native library location".

Community
  • 1
  • 1
ziesemer
  • 27,712
  • 8
  • 86
  • 94
  • Would you mind showing us a screenshot of the Eclipse configuration? I'm guessing something has to be slightly off... – ziesemer Dec 10 '11 at 18:19