Posted by
Sandhase on
Jan 19, 2011; 7:58am
URL: https://forum.jogamp.org/JOGL-Web-Start-Applet-in-a-Local-Net-tp2278856p2285901.html
I've downloaded the jogl-demos.jar and jogl-demo-utils.jar and tried the gears applet.
Did not work either...same error message.
again here is the HTML Tag:
<applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
width=600
height=400
archive="
http://x/applets/data/applet-launcher.jar,
http://x/applets/data/jogampLib/nativewindow.all.jar,
http://x/applets/data/jogampLib/jogl.all.jar,
http://x/applets/data/jogampLib/gluegen-rt.jar,
http://x/applets/jogl-demos.jar"> < param name="codebase_lookup" value="false">
< param name="subapplet.classname" value="demos.applets.GearsApplet">
< param name="subapplet.displayname" value="JOGL Gears Applet">
< param name="noddraw.check" value="true">
< param name="progressbar" value="true">
< param name="jnlpNumExtensions" value="1">
< param name="jnlpExtension1"
value="
http://x/applets/data/sunLib/jogl-core.jnlp">
< param name="java_arguments" value="-Dsun.java2d.noddraw=true">
< param name="jnlp_href" value="Gears.jnlp">
</applet>
JNLP:
<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="
http://129.247.81.99/applets/" href="Gears.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"/>
<resources>
<j2se href="
http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<property name="sun.java2d.noddraw" value="true"/>
<jar href="jogl-demos.jar" main="true"/>
<jar href="data/jogampLib/jogl-demos-util.jar" />
<extension name="newt-all-awt" href="
http://129.247.81.99/applets/data/jogampLib/newt-all-awt.jnlp" />
</resources>
<applet-desc
name="Gears-Applet"
main-class="demos.applets.GearsApplet"
width="640"
height="480">
</applet-desc>
</jnlp>
thanks for your reply
Edit:
Another question: I've checked my .jnlp files again and now I#m a little bit confused. I got one jogl-core.jnlp with links to the sun site and one with links to this site.
Do I need files from the Sun-Site or just files from jogamp.org? This might solve the problem because I've downloaded files from both sites and both got links in the .jnlp files I use