Problems with Java Web Start

Started by RiverC, June 12, 2012, 13:30:31

Previous topic - Next topic

RiverC

Hey all. I'm trying to create an easy deploy of my game application via Java Web Start. I've set up my web server to serve the jnlp file properly (using htaccess) and I can get it to install, all jars are signed, etc. However, it doesn't run. Here is my .jnlp file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="[...]" href="gat.jnlp">
    <information>
        <title>[...]</title>
        <vendor>[...]</vendor>
        <homepage href="at.php"/>
        <description>[...]</description>
        <description kind="short">[...]</description>
        <icon kind="splash" href="media/arenalogo.png" />
        <offline-allowed/>

    </information>
    <resources>
        <j2se version="1.6+"/>
        <jar href="dist/latest/SburbArenaTest.jar" main="true"/>
        <extension name="lwjgl" href="http://lwjgl.org/webstart/2.8.3/extension.jnlp" />
    </resources>
    <security>
        <all-permissions/>
     </security>

  <resources os="Windows">
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" max-heap-size="128m"/>
    <nativelib href="dist/native/windows_natives.jar"/>
  </resources>
  <resources os="Linux">
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" max-heap-size="128m"/>
    <nativelib href="dist/native/linux_natives.jar"/>
  </resources>
  <resources os="Mac">
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" max-heap-size="128m"/>
    <nativelib href="dist/native/macosx_natives.jar"/>
  </resources>

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


The exception I get is:

java.lang.NoClassDefFoundError: org/newdawn/slick/util/ResourceLoader

Which indicates that Slick-util is not being loaded. Is slick-util downloaded with 2.8.3's web start, or will I have to include it myself as a resource jar?