Posted by
Penny on
Dec 03, 2013; 4:11pm
URL: https://forum.jogamp.org/Jogl-Build-Headache-tp4030758.html
For some reason jogl is throwing an "InvocationTargetException" with no further clues as to what the problem is.
With a bit of jiggery pokery I have the following stack trace...
Thread=Thread[thread applet-com/myapp/load/MyApp.class-1,4,
http://zenny-x11.home/play/-threadGroup]
java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Penny\Desktop\gluegen-rt.dll
java.lang.ClassLoader.loadLibrary(-1)
java.lang.Runtime.load0(-1)
java.lang.System.load(-1)
com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(468)
com.jogamp.common.jvm.JNILibLoaderBase.access$000(63)
com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(94)
com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(332)
com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(390)
com.jogamp.common.os.Platform$1.run(210)
java.security.AccessController.doPrivileged(-2)
com.jogamp.common.os.Platform.<clinit>(173)
javax.media.opengl.GLProfile.<clinit>(82)
com.ardor3d.framework.jogl.CapsUtil.getProfile(24)
com.ardor3d.framework.jogl.CapsUtil.getCapsForSettings(52)
com.ardor3d.framework.jogl.CapsUtil.getCapsForSettings(35)
com.ardor3d.framework.jogl.JoglNewtAwtCanvas.<init>(41)
com.ardor3d.framework.jogl.JoglNewtAwtCanvas.<init>(36)
com.myapp.load.Test.run(21)
com.myapp.load.MyApp.start(81)
com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(-1)
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(-1)
java.lang.Thread.run(-1)
Ok, fine I can rebuild my own version of JOGL and rewrite the code so I ensure it finds the files in the right place. The files should have already been loaded but for some reason not.
To build JOGL I need Android but can I find the appropriate jar file?? Please help.
What other jar files will I need? thanks
I do not use eclipse or github. I just need the jar libraries to put into my classpath.
Many Thanks