Webstart wOoOo0s [Resolved]

I am trying to get a demo with jogl and web start working but it doesn’t seem to be working out very well.

I included jogl’s webstart but if I don’t include the jars to jogl I get:

     java.lang.NoClassDefFoundError: javax/media/opengl/GLJPanel

jnlp:


<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://darkoria.labs.gorilla3d.com/webstart/"
      href="demo.jnlp">
  <information>
    <title>Dark Core</title>
    <vendor>Gorilla3D</vendor>
    <homepage href="http://www.gorilla3d.com"/>
    <description>Gears Demo</description>
    <description kind="short">Testing Webstart</description>
    <offline-allowed/>
  </information>

  <resources>
    <j2se version="1.5+"/>
    <extension href="https://jogl.dev.java.net/webstart/jogl.jnlp"/>
    <jar href="Gears.jar"/>
  </resources>

  <application-desc main-class="gears.Main"/>
</jnlp>

If I add:

    <jar href="lib/gluegen-rt.jar"/>
    <jar href="lib/jogl.jar"/>

To the resources I will then get permission error because its not signed :.

Either sign your app or use the JNLPAppletLauncher. You can find an example here: https://jogl-demos.dev.java.net/applettest.html

Edit: OOPs - it’s about webstart… ::slight_smile:

Your extension href is wrong. Please read the JOGL Users’ Guide.

Ken,

No wonder, thank you it works great now :slight_smile: