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.

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

1 Comment

Would you mind showing us a screenshot of the Eclipse configuration? I'm guessing something has to be slightly off...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.