Hello,
I am trying to make a webstart version of my game, but i have a problem. Everything works fine if I startup the game from my local disc, and have my data (models, textures, …) in a directory; although all this data is also in the jar. When I startup the jar from somewhere else I don’t need the data dir. Only when I try to run the webstart application. What am I doind wrong here ?
Here is the webstart code:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://users.pandora.be/kozen/demos" href="Sample.jnlp">
<information>
<title>JOGL Sample</title>
<vendor>K. Development</vendor>
<description>JOGL Demo</description>
</information>
<offline-allowed/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+" />
<jar href="Sample.jar"/>
<jar href="Resources/jogl.jar"/>
</resources>
<resources os="Windows">
<j2se version="1.4+"/>
<nativelib href="Resources/jogl-natives-win32.jar"/>
</resources>
<resources os="Linux" arch="i386">
<j2se version="1.4+"/>
<nativelib href="Resources/jogl-natives-linux.jar"/>
</resources>
<resources os="OSX">
<j2se version="1.4+"/>
<nativelib href="Resources/jogl-natives-macosx.jar"/>
</resources>
<resources os="Mac OS X">
<j2se version="1.4+"/>
<nativelib href="Resources/jogl-natives-macosx.jar"/>
</resources>
<application-desc main-class="Sample" />
</jnlp>
Regards,
Kenzo