JNLP Extensions modified?

Started by xindon, July 10, 2008, 16:00:13

Previous topic - Next topic

xindon

Hey,

I wonder whether you've modified the JNLP extension feature?  I've structured my web start jnlp files for a long time now like this:
<resources> 
    	<j2se version="1.6+"/> 
    	<jar href="Quake3BSPLoader.jar" main="true"/>
    	<jar href="q3dm1.jar"/>
[b]	<extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />[/b]
  </resources>


Today I checked by website and suddenly (ok, I haven't checked for some months I have to admit :P) my web start applications do not work anymore.

I get this exception (important things highlighted):

Quotejava.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/lwjgl/devil/IL
   at de.bloodyblades.bsp3loader.Quake3BSPLoader.init(Quake3BSPLoader.java:81)
   at de.bloodyblades.bsp3loader.Quake3BSPLoader.<init>(Quake3BSPLoader.java:44)
   at de.bloodyblades.bsp3loader.Quake3BSPLoader.main(Quake3BSPLoader.java:222)
   ... 9 more
Caused by: java.lang.ClassNotFoundException: org.lwjgl.devil.IL
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   ... 12 more

Can you help me fixing this issue?

If you want to try it yourself: http://bloody-blades.de/jnlp/q3bsp/Quake3BSPLoader.jnlp

Thank you very much in advance!

Tim

Orangy Tang

DevIL was removed a while back, have a hunt around the forum as there was some alternative libraries suggested if you want a simple replacement.

Matzon

I have been meaning to do an extension.php?version=1.1.4 - but I haven't gotten around to doing it yet :-\
(another reason is that I am not 100% sure how we want to handle this, as this means that downloads happen from our server)

xindon

So if I don't want to make changes to my old code, it'd be probably best to upload the missing libs to my web server and add them as jars to the resources section in the jnlps. (?)

Okay, thanks :-)