update to rc10 and get a library path error!

Posted by robbiezl on
URL: https://forum.jogamp.org/update-to-rc10-and-get-a-library-path-error-tp4025934.html

I update from rc5 direct to rc10,I download jogamp-all-platforms,and add all the jars through "add external jars" in eclipse project.

when I run the application ,I got the error bellow. When I use rc5 ,there is no problem when I add all the jars of rc5!

Catched FileNotFoundException: C:\Users\Akira\Desktop\jogamp-all-platforms\jogamp-all-platforms\jar\gluegen-natives-windows-amd64.jar (系统找不到指定的文件。), while TempJarCache.bootstrapNativeLib() of jar:file:/C:/Users/Akira/Desktop/jogamp-all-platforms/jogamp-all-platforms/jar/gluegen-natives-windows-amd64.jar!/ (file:/C:/Users/Akira/Desktop/jogamp-all-platforms/jogamp-all-platforms/jar/ + gluegen-natives-windows-amd64.jar)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:454)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:59)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:90)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:328)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:390)
        at com.jogamp.common.os.Platform$2.run(Platform.java:249)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:231)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:183)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:99)
        at app.browser.JOGLBrowserCanvas.getCaps(JOGLBrowserCanvas.java:34)
        at app.browser.JOGLBrowserCanvas.<init>(JOGLBrowserCanvas.java:26)
        at app.browser.JOGLBrowserPanel.<init>(JOGLBrowserPanel.java:66)
        at app.browser.JOGLBrowser.createHomePageBrowserPanel(JOGLBrowser.java:140)
        at app.browser.JOGLBrowser.initBrowserPanels(JOGLBrowser.java:208)
        at app.browser.JOGLBrowser.init(JOGLBrowser.java:86)
        at app.browser.JOGLBrowserBaseFrame.initComponents(JOGLBrowserBaseFrame.java:87)
        at app.browser.JOGLBrowserBaseFrameSharePool.newBaseFrame(JOGLBrowserBaseFrameSharePool.java:189)
        at app.browser.JOGLBrowserBaseFrameSharePool.newBaseFrame(JOGLBrowserBaseFrameSharePool.java:158)
        at app.browser.JOGLBrowserStarter.<init>(JOGLBrowserStarter.java:22)
        at app.browser.JOGLBrowserApp.<init>(JOGLBrowserApp.java:72)
        at app.browser.JOGLBrowserApp.main(JOGLBrowserApp.java:111)