Hello Guest

Java Webstart Demos

  • 3 Replies
  • 8123 Views
*

Offline Matzon

  • *****
  • 2242
Java Webstart Demos
« on: June 17, 2003, 05:58:18 »
Hi guys
 
I was fiddling around with Java Webstart to fix a bug in OpenAL library loading. Having gotten it to work, I created JNLP files for the tests contained in the lwjgl package.
 
http://java-game-lib.sourceforge.net/jnlp/
 
Some of the tests are console only, and you can only see the output in the console.
 
The following I have yet to get to work:
pBufferTest
 
and I've noticed some inconsistencies with some of the demos (work perfectly at work, fails at home??)
 
I can't verify whether or not the Grass test works, since I haven't got a nVidia card.
 
Second Last thing, I have noticed that javaw.exe stays in memory - I will be looking into this... - For now, just manually kill the sucker if it stays alive
 
Last thing, These demos are created from CVS version of files (ie to be 0.7), and only work on windows + linux (rh8/9)

*

Online princec

  • *****
  • 1932
    • Puppygames
Java Webstart Demos
« Reply #1 on: June 17, 2003, 09:33:36 »
I can't launch any of them - there's no .jnlp file extension, and the MIME type isn't set up correctly, so my browser has no idea what to launch.

Cas :)

*

Offline Matzon

  • *****
  • 2242
Simple fix
« Reply #2 on: June 17, 2003, 11:07:28 »
Here ya go this should fix all your problems :P

I have no plans to add a jnlp extension to the file, as it is a php file.[/url]

Java Webstart Demos
« Reply #3 on: June 17, 2003, 11:52:33 »
Grass test:

Java 2 Runtime Environment: Version 1.4.2-beta av Sun Microsystems Inc.
Loggar till filen: /home/anders/log.txt
Display mode: 640 x 480 x 24 @0Hz
Created display.
Created OpenGL.
Vertex program supported: true
java.lang.NullPointerException
        at org.lwjgl.test.opengl.Grass.loadFile(Grass.java:120)
        at org.lwjgl.test.opengl.Grass.main(Grass.java:144)
        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.continueLaunch(Unknown Source)
        at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
        at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)