Hello,
I’m writing tutorials on learning OpenGL using JOGL and Java and for each article, i link a demo which could be launched with JWS.
Here is my JNLP descriptor :
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://info-rital.developpez.com/tutoriel/java/opengl/opengl1/fichiers/" href="opengl1.jnlp">
<information>
<title>Apprendre l'OpenGL avec Java : Article 1</title>
<vendor>InfoRital</vendor>
<homepage href="http://info-rital.developpez.com/"/>
<description>Création d'une fenêtre pour faire de l'OpenGL</description>
<description kind="short">Création d'une fenêtre pour faire de l'OpenGL</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.4+"/>
<jar href="opengl1.jar" main="true"/>
<extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp" />
<property name="sun.java2d.noddraw" value="true"/>
</resources>
<application-desc main-class="developpez.opengl.Article1" />
</jnlp>
As you can see, i use the resource : for loading JOGL libs.
It works fine on Linux but on Windows, it doesn’t want to launch.
The error is caused by “no jogl in library path”.
If you want to try, the link is : http://info-rital.developpez.com/tutoriel/java/opengl/opengl1/fichiers/opengl1.jnlp
It’s really strange because on linux, i don’t have the libs installed (neither on Windows) and it loads the jsr-231 without problem.
Thanks.