Posted by
Wade Walker on
Jan 20, 2011; 4:43pm
URL: https://forum.jogamp.org/JOGL-Web-Start-Applet-in-a-Local-Net-tp2278856p2295134.html
Hi Sandhase,
It looks like you're missing a native binary somehow -- this is where Michael's earlier advice becomes necessary

Here's a new version of my JNLP that works cross-platform. As Michael mentioned, you need all the *-natives-*.jar files in your codebase directory (there should be 20 of them), you have to sign them all, and they need to be in the JNLP as resources. If you do it like this, you don't need the .dll and .so files like I used before.
I've tested this on both Windows 32 and CentOS 64, and it works the same (except I have to change the path to the codebase). I used the autobuild b266 for this.
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="file://localhost/work/jogl2/jws/"
href="GearsTestNativeJARs.jnlp">
<information>
<title>JOGL Gears Demo</title>
<vendor>JogAmp Community</vendor>
<homepage href="
http://jogamp.org/jogl-demos/"/> <description>Gears Demo</description>
<description kind="short">Brian Paul's Gears demo ported to Java and JOGL.</description>
<offline-allowed/>
</information>
<update check="background" policy="always"/>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="
http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<property name="sun.java2d.noddraw" value="true"/>
<jar href="jogl.test.jar" main="true"/>
<jar href="gluegen-rt.jar" />
<jar href="nativewindow.all.jar" />
<jar href="jogl.all.jar" />
<jar href="newt.all.jar" />
<jar href="ant.jar" />
<jar href="ant-junit.jar" />
<jar href="junit.jar" />
</resources>
<resources os="Windows" arch="x86">
<nativelib href = "gluegen-rt-natives-windows-i586.jar" />
<nativelib href = "jogl-natives-windows-i586.jar" />
<nativelib href = "nativewindow-natives-windows-i586.jar" />
<nativelib href = "newt-natives-windows-i586.jar" />
</resources>
<resources os="Windows" arch="amd64">
<nativelib href = "gluegen-rt-natives-windows-amd64.jar" />
<nativelib href = "jogl-natives-windows-amd64.jar" />
<nativelib href = "nativewindow-natives-windows-amd64.jar" />
<nativelib href = "newt-natives-windows-amd64.jar" />
</resources>
<resources os="Windows" arch="x86_64">
<nativelib href = "gluegen-rt-natives-windows-amd64.jar" />
<nativelib href = "jogl-natives-windows-amd64.jar" />
<nativelib href = "nativewindow-natives-windows-amd64.jar" />
<nativelib href = "newt-natives-windows-amd64.jar" />
</resources>
<resources os="Linux" arch="i386">
<nativelib href = "gluegen-rt-natives-linux-i586.jar" />
<nativelib href = "jogl-natives-linux-i586.jar" />
<nativelib href = "nativewindow-natives-linux-i586.jar" />
<nativelib href = "newt-natives-linux-i586.jar" />
</resources>
<resources os="Linux" arch="x86">
<nativelib href = "gluegen-rt-natives-linux-i586.jar" />
<nativelib href = "jogl-natives-linux-i586.jar" />
<nativelib href = "nativewindow-natives-linux-i586.jar" />
<nativelib href = "newt-natives-linux-i586.jar" />
</resources>
<resources os="Linux" arch="amd64">
<nativelib href = "gluegen-rt-natives-linux-amd64.jar" />
<nativelib href = "jogl-natives-linux-amd64.jar" />
<nativelib href = "nativewindow-natives-linux-amd64.jar" />
<nativelib href = "newt-natives-linux-amd64.jar" />
</resources>
<resources os="Linux" arch="x86_64">
<nativelib href = "gluegen-rt-natives-linux-amd64.jar" />
<nativelib href = "jogl-natives-linux-amd64.jar" />
<nativelib href = "nativewindow-natives-linux-amd64.jar" />
<nativelib href = "newt-natives-linux-amd64.jar" />
</resources>
<resources os="Mac OS X" arch="i386">
<nativelib href = "gluegen-rt-natives-macosx-universal.jar" />
<nativelib href = "jogl-natives-macosx-universal.jar" />
<nativelib href = "nativewindow-natives-macosx-universal.jar" />
<nativelib href = "newt-natives-macosx-universal.jar" />
</resources>
<resources os="Mac OS X" arch="x86_64">
<nativelib href = "gluegen-rt-natives-macosx-universal.jar" />
<nativelib href = "jogl-natives-macosx-universal.jar" />
<nativelib href = "nativewindow-natives-macosx-universal.jar" />
<nativelib href = "newt-natives-macosx-universal.jar" />
</resources>
<application-desc main-class="com.jogamp.opengl.test.junit.jogl.demos.gl2.gears.TestGearsAWT">
</application-desc>
</jnlp>