Webstart vs. JRE & Performance

Hi!

I have a problem with the JOGL-Demos. It is like the one posted at
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1100570502,
with one difference:
The demos are working correctly and really fast if started via WebStart at https://jogl-demos.dev.java.net/, but started via the local JRE the described problems occur.
JDK&JRE 1.5, Windows XP, ATI 7000 Series

I haven’t a clue how to fix this problem. Can you help me?

Thanks in advance
Martin

Specify -Dsun.java2d.noddraw=true on the command line when you launch them with your local JRE. Does that change the behavior?

No, unfortunately not.
This problem seems to be very bizarre, because it should be no difference how i start the class.
Does Webstart also use the common local JRE?

Martin

Yes. If you go into the Java Control Panel you can enable the Java Web Start console. The next time you launch a program with Web Start it will print out the exact JRE version being used.

Note that I usually have problems with the JDK installer when doing development. It drops a java.exe and javaw.exe into C:\Windows\System32 which seem to mess up certain things; I don’t remember exactly what right now, but I think it’s related to the CLASSPATH. I usually delete those executables and make sure the JDK’s bin directory is in my PATH. However doing so is not recommended and might mess up your Java Web Start installation.

Ok, i’ve found out, the versions of the executables are the same, even of the ones to be found in windows/system32.
Any suggestions?

If the demos are working via Java Web Start then I can’t think of any reason why they shouldn’t work when launched locally. Are you using the exact bits off the JOGL web page (Documents & Files section), or did you compile them yourself? Have you checked your PATH and CLASSPATH to make sure everything is set up properly? Does the basic Gears demo work?

Hi!

I didn’t say they don’t work when launched locally, but via webstart they run smooth and really fast, via local JRE they stuck and consume 100% CPU-Power.
I installed the most recent device drivers for the graphics board but it didn’t help.
Windows XP does not need to have the PATH or the CLASSPATH set, java is registered via the registry. Aside from that, the demos start without error or exception…
I’m using the precompiled JOGL-packages, the most recent stable build 1.1b07.
I’m really desperate… :frowning:

Sorry but I don’t have any other suggestions beyond the ones above right now. There shouldn’t be any significant differences in performance between the demos launched via Web Start or via the local JRE. I haven’t seen any such differences on any of the machines or OSs I’ve tested on.

Thank you for your help, I think, it’s something with the machine. Perhaps I will get a new one soon…