My manifest file is solid, my program runs fine, my jar is sealed and signed.
Trying a new approach. I figure the applet is impossible to make work. Kept getting an error about not being able to find “org.jdesktop.applet.util.JNLPAppletLauncher” even after downloading signing and uploading each required .jar …
So now I’m trying with the .jnlp
Here’s what I have going on:
http://realchemist.zxq.net/pages/Applets/test.html
<applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
width=256
height=322
archive="http://jogamp.org/deployment/util/applet-launcher.jar,
http://jogamp.org/deployment/webstart/nativewindow.all.jar,
http://jogamp.org/deployment/webstart/jogl.all.jar,
http://jogamp.org/deployment/webstart/gluegen-rt.jar,
http://www.angelfire.com/indie/kcsoft/orbexplor.jar">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="OrbitalExplorer.orbitalExplorerApp">
<param name="subapplet.displayname" value="OrbitalExplorer">
<param name="noddraw.check" value="true">
<param name="progressbar" value="true">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1"
value="http://jogamp.org/deployment/webstart/jogl-core.jnlp">
<param name="java_arguments" value="-Dsun.java2d.noddraw=true">
<param name="jnlp_href" value="http://www.angelfire.com/indie/kcsoft/oe.jnlp">
</applet>
then the oe.jnlp code is
<?xml version="1.0" encoding="utf-8"?>
<jnlp href="http://www.angelfire.com/indie/kcsoft/oe.jnlp">
<information>
<title>Orbital Explorer</title>
<vendor>None</vendor>
<homepage href="http://www.realchemist.zxq.net"/>
<description>Atomic orbital demonstrations</description>
<description kind="short">Atomic orbital demonstrations</description>
<offline-allowed/>
</information>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<property name="sun.java2d.noddraw" value="true"/>
<jar href="http://www.angelfire.com/indie/kcsoft/orbexplor.jar" main="true"/>
<extension name="jogl-all-awt" href="http://jogamp.org/deployment/webstart/jogl-all-awt.jnlp" />
</resources>
<applet-desc
name="OrbitalExplorer"
main-class="OrbitalExplorer.orbitalExplorerApp"
width="256"
height="320">
</applet-desc>
</jnlp>
Now I’m getting a fun error:
Exit Exception
Error While Initializing Managers
dump:
ExitException[ 3]JNLParseException[ Could not parse launch file. Error at line 29.]
at sun.plugin2.applet.JNLP2Manager.redirectLaunchDesc(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
Error while initializing manager: ExitException[ 3]JNLParseException[ Could not parse launch file. Error at line 29.], bail out
Is JOGL 2.0 broken or am I really this daft? Does this work on anyone elses machine?