Login  Register

Re: disable depth

Posted by stuntman on Mar 09, 2012; 11:56pm
URL: https://forum.jogamp.org/disable-depth-tp3797369p3814182.html

Wade Walker wrote
Are you sure you set up the files for the non-Mac platforms correctly in your JNLP? You said it fails on Ubuntu and says this:

stuntman wrote
nativePrefix =   nativeSuffix = .dll
but on Ubuntu I'd expect to see prefix of "lib" and suffix of ".so" -- it looks like it's trying to load the Windows libraries for some reason.
My bad, I wasn't behind the ubuntu pc so I googled the error and copied it, but forgot that apparently was produced on a windows pc. Here is the full error from my ubuntu pc:

java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
JNLPAppletLauncher: static initializer
java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
        at java.security.AccessController.checkPermission(AccessController.java:553)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:284)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
        at java.lang.System.getProperty(System.java:669)
        at org.jdesktop.applet.util.JNLPAppletLauncher.initTmpRoot(JNLPAppletLauncher.java:1056)
        at org.jdesktop.applet.util.JNLPAppletLauncher.<clinit>(JNLPAppletLauncher.java:2190)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:713)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:672)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:884)
I hope this helps.