ido
|
 |
«
Posted
2010-08-18 17:52:52 » |
|
Hi, I have 3 very similar applets that work fine in linux & mac os x (and until recently windows as well), but today I've noticed they stopped working under windows when opened in a web browser (latest ff & ie 8 ) : Dynamite Fish'nAbstract Meta GameLord of His DomainHowever, they still work in windows when i run them in eclipse (as well as on linux and mac os x either in eclipse or in the browser). This has been confirmed by several other people. No error is shown in the java console when the applet is playing in the browser, just a blank white box is displayed. The source code, jars and html files for all 3 applets can be had here. Any idea what might have caused this odd error? Could it have been the recent 1.6_21 update?
|
|
|
|
zoto
|
 |
«
Reply #1 - Posted
2010-08-18 18:07:14 » |
|
They all worked fine for me on vista64 on firefox.
|
|
|
|
|
ido
|
 |
«
Reply #2 - Posted
2010-08-19 13:22:17 » |
|
Which version of java, zoto?
It might just be the latest update (1.6_21).
|
|
|
|
Games published by our own members! Check 'em out!
|
|
kappa
|
 |
«
Reply #3 - Posted
2010-08-19 14:03:40 » |
|
works fine here on winxp 32bit with 1.6.0_21. Its likely that java somehow messed up the upgrade procedure and corrupted the install (not uncommon, see thread relating to java 1.6.0_20 upgrade). What i'd recommend you try is uninstall java and do a fresh install.
|
|
|
|
|
ido
|
 |
«
Reply #4 - Posted
2010-08-19 14:18:18 » |
|
Uninstalling and reinstalling the jre & jdk didn't seem to help. Strangely java *does* manage to start, as the console comes up, but it just seem to not update the applet's rendering region: http://i.imgur.com/CDJde.pngThe text you see inside the applet's area is the content of the previous browser tab. In IE 8 it also doesn't seem to render anything inside the applet.
|
|
|
|
teletubo
|
 |
«
Reply #5 - Posted
2010-08-19 14:43:11 » |
|
I have the same problem you have here, ido .
Windows XP, java 1.6.0_11-b03, Firefox . It does not even show the java console .
however , with I.E. 7.0.57 it runs just fine . weird ...
|
|
|
|
kappa
|
 |
«
Reply #6 - Posted
2010-08-19 15:00:55 » |
|
@ido are you sure its the 1.6.0_21 update? does downgrading to 1.6.0_20 make it work again?
|
|
|
|
|
ido
|
 |
«
Reply #7 - Posted
2010-08-19 15:07:41 » |
|
Nope, I tired it just before and it seems downgrading to 1.6_20 didn't help either.
|
|
|
|
kappa
|
 |
«
Reply #8 - Posted
2010-08-19 15:16:06 » |
|
ok, so seems this problem isn't specific to the 1.6.0_21 upgrade then.
Do other java applets work ? also can you try non java2D applets (like pulpcore applets, lwjgl applets)?
|
|
|
|
|
ido
|
 |
«
Reply #9 - Posted
2010-08-19 15:22:02 » |
|
Other java2d applets work, pulpcore applets work & lwjgl applets also work.... Very strange. 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
kappa
|
 |
«
Reply #10 - Posted
2010-08-19 15:56:41 » |
|
Other java2d applets work, pulpcore applets work & lwjgl applets also work.... Very strange.  ok, guess the next logical assumption to make would be that the java cache of your applet jars has become corrupt (although odd that no exception is thrown in the console). So try clear your java cache (from the java control panel) and try launch your applets again?
|
|
|
|
|
ido
|
 |
«
Reply #11 - Posted
2010-08-19 15:58:29 » |
|
That's the first thing I tried- it didn't help and the problem doesn't happen just on my machine but also on 3 others (including teletubo).
|
|
|
|
Riven
|
 |
«
Reply #12 - Posted
2010-08-19 16:07:06 » |
|
Create an applet that renders 1 colored rectangle. Work from there.
Either that, or deactivate functionality in your current applet and see when it starts working again.
|
|
|
|
ido
|
 |
«
Reply #13 - Posted
2010-08-19 16:09:44 » |
|
That's probably what I'll have to do Riven, too bad the problem manifests itself on my work computer (it works fine at home), and also that the same version used to work on this computer before...
|
|
|
|
teletubo
|
 |
«
Reply #14 - Posted
2010-08-19 16:27:22 » |
|
That's the first thing I tried- it didn't help and the problem doesn't happen just on my machine but also on 3 others (including teletubo).
Nevermind my case. It works now, I think I just had Firefox not correctly configured (I'm at work and we had a format a few days ago) .
|
|
|
|
ido
|
 |
«
Reply #15 - Posted
2010-08-19 16:28:51 » |
|
What was it? Perhaps it can help me solve my issues here.
If it really is just a local issue rather than a systematic one that'd be good news.
|
|
|
|
kappa
|
 |
«
Reply #16 - Posted
2010-08-19 17:00:55 » |
|
Just out of curiosity what graphics card do you use on that machine? were the drivers changed recently? Although a long shot could you try if the applet works when all graphics hardware acceleration is disabled? This is done using the following parameter inside your applet tag 1
| <param name="java_arguments" value="-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false"> |
|
|
|
|
|
ido
|
 |
«
Reply #17 - Posted
2010-08-19 17:09:54 » |
|
Awesome Kapta! That did the trick  Didn't seem to slow down anything, either.
|
|
|
|
ido
|
 |
«
Reply #18 - Posted
2010-08-19 17:33:58 » |
|
1
| <param name="java_arguments" value="-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false"> |
For the record, the part of it that did the trick was "-Dsun.java2d.opengl=false".
|
|
|
|
|