LWJGL
May 25, 2013, 12:06:53 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Problems with Java Web Start  (Read 824 times)
RiverC
Newbie
*
Posts: 46


« on: June 12, 2012, 06:30:31 »

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:
Code:
<?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?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!