Login  Register

Re: Help installing JOGL

Posted by Penny on Jan 30, 2013; 2:36pm
URL: https://forum.jogamp.org/Help-installing-JOGL-tp3295611p4028061.html

Thanks very much for your help!!! :D

I can now run jogl using the command line.

I created a manifest file that contains Class-Path: and paths going to gluegen-rt.jar and jogl-all.jar
This works as expected but when I specified additional jars gluegen.jar jocl.jar and joal.jar I received the following error...

========================================
SENTINEL [main]:Wed Jan 30 13:49:25 GMT 2013
 java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
  java.lang.ClassLoader.loadLibrary(1860)
   java.lang.Runtime.loadLibrary0(845)
    java.lang.System.loadLibrary(1084)
     com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(442)
      com.jogamp.common.jvm.JNILibLoaderBase.access$000(59)
       com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(90)
        com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(328)
         com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(390)
          com.jogamp.common.os.Platform.loadGlueGenRTImpl(251)
           com.jogamp.common.os.Platform.access$000(57)
            com.jogamp.common.os.Platform$1.run(186)
             com.jogamp.common.os.Platform$1.run(183)
              com.jogamp.common.os.Platform.<clinit>(183)
               javax.media.opengl.GLProfile.<clinit>(82)
                a.Test.init(11)
                 a.MyProgram.init(28)
                  a.MyProgram.main(47)
========================================

Im very happy I have jogl working from the command line.

I now turn to running jogl using the same but invoked from a browser.

Using the following tag in my html my signed jar program works as expected.
<applet archive=myProgram.jar code=a/MyProgram.class width=100% height=100%>

But I receive the error
SecurityException
attempted to open sandboxed jar file:/D:/jogl2/jar/jogl-all.jar as a Trusted-Library

My signed jar is working as I am allowed access to the system clipboard.

Any ideas please
Many Thanks
P