No problems using IE7/6u10.
Previously, though, I’ve seen problems using multiple jars like this example uses. Do you get those exceptions when the archive tag only references one jar?
No problems using IE7/6u10.
Previously, though, I’ve seen problems using multiple jars like this example uses. Do you get those exceptions when the archive tag only references one jar?
We’re way overrepresenting 6u10 here, IMO - anyone left with a more common in the wild version of the plugin installed?
The only time I got it to break was refreshing when not all of them were loaded. Though I do tend to have to refresh applets that use LWJGL before the applet will even load(no exceptions just sits there with a white screen, works after a refresh).
C:******t>java -version
java version “1.6.0_07”
Java™ SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot™ Client VM (build 10.0-b23, mixed mode, sharing)
[quote]java.lang.NullPointerException
at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
SpookyApplet.static … v19
SpookyApplet.init()
SpookyApplet.init()
SpookyApplet.init()
SpookyApplet.run() -> started
SpookyApplet.run() -> started
SpookyApplet.run() -> started
[/quote]
On the first run the last 2 didn’t load. Which one just stays on the Java logo.
Version: 1.6_7-b06
Vista using IE7
Thanks. I have 1.6.0_u7 installed at work too - maybe… it got fixed in u10
With OS X Leopard and Java 1.5 (in browser, at least), couldn’t cause any problems no matter what I tried. I’ve usually found the Mac plugin to be pretty robust, so I’m not too surprised.
Yes it got fixed in 6u10, bug #6399750
#6391104 says the bug happens more often for pages with multiple applets, refreshing, and big jars (exactly like your test)
I can’t link to the bugs at the moment because bugs.sun.com is… down, or something.
Works great in firefox. Sometimes works great in ie, but usually only loads a couple of applets, then dies with one of the errors posted above.
After refreshing the page a few times in ie, clicking “remove applets”, then requesting a thread dump, I got a LOT of threads. Far too many.
connectToOwnHost() probably should check running in the loop and after the sleeps, and abort if it’s ever false. Other than that, the source code looks sound to me.
It seemed to work fine in IE, though at some point it threw some exceptions
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Unknown Source)
at java.lang.Thread.join(Unknown Source)
at main.SpookyApplet$1.run(SpookyApplet.java:49)
at java.lang.Thread.run(Unknown Source)
SpookyApplet.run() -> stopped
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Unknown Source)
at java.lang.Thread.join(Unknown Source)
SpookyApplet.run() -> stopped
at main.SpookyApplet$1.run(SpookyApplet.java:49)
at java.lang.Thread.run(Unknown Source)
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Unknown Source)
at java.lang.Thread.join(Unknown Source)
at main.SpookyApplet$1.run(SpookyApplet.java:49)
at java.lang.Thread.run(Unknown Source)
Argh, I just had an exception after many page refreshes and a click on the remove button, but appearantly the whole JVM died, cant access console anymore…
I installed u10 at work, and cannot reproduce the problems anymore.
Now I only have to wait 5-10 years before most of our customers have upgraded 
or you could force your customers to upgread (no risk no fun 8))
Nice test. I didn’t see any problems on any machine or browser i tried it with, and they all used java 6 u10.
I think we can give Ken Russell a big clap for making the new java 6 u10 applet plugin so much better 8)
Forcing 99.9% of your potentially paying customers to:
… is commercial suicide.
So until then, we can only add a link with a flashy image in the corner of the page:
Problems? Click here!
which installs u10 which is hosted locally, so people don’t have to wade through java.com’s horrific i18n.
I’d almost forget it is illegal to host a JRE download file, you must embed it in an app… bugger
you could at least display a “for best user expearance click here” button if the user has 1.4 or 1.5 installed. Its a javascript five-liner. You could even restrict it only to customers who already paid if you fear to loose them.
At the end of the day it depends if the customers really want the app or not. (is it yet an other screencapture tool or is it crysis 3?..)
but my post wasn’t 100% serious anyway 
Sorry…and, yes, I know it’s not the most popular position here, but “commercial suicide”? That’s a load of crap.
So, let’s take it one point at a time:
It’s filler, so what? I can say the same exact thing about commercials on TV yet people still put up with them. Big deal. No one complains that to upgrade Flash, you actually get ejected to Adobe’s site that is a big ad for Flash and Adobe technologies.
To an auto installer (mostly). People are willing to go through an AWFUL lot to get to the things they want to do.
Again, 15MB? Really? So, correct, not everyone has broadband, but the numbers are growing rapidly:
[i]Worldwide consumer broadband connections will grow from 323 million connections in 2007 to 499 million in 2012, according to Gartner, Inc. Worldwide consumer broadband connections penetrated 18 percent of households in 2007, and by 2012, households with a broadband connection will reach 25 percent.
Five countries exceeded 60 percent broadband penetration into the home in 2007; and, this is expected to grow to 17 countries by 2012. The five countries with broadband penetration into the home above 60 percent are Canada, Netherlands, Switzerland, South Korea and Hong Kong (see Table 1).
http://www.gartner.com/it/page.jsp?id=729907
[/i]
Again, it all depends on the kind of gamer you are targeting. Also, after you have, at least 1.4 installed (and 1.4/5 shipping on well over 80% of all new PCs worldwide) the downloads are not 15MB+ and are incremental.
Again, auto install for a majority of folks and the issue of “Where did it go” seems to be less and less of an issue.
Oh, you mean, like Flash? Or Shockwave? Come on…
So, here’s a perfect example of what people will go through. In our house, we did that silly Elf Yourself app with the kids to send to their grandparents. After getting the damn thing to work, not break connections, understand that I didn’t want to drag the photo around anymore, etc. (BTW, Flash application!) we finished our little video and e-mailed the link to the grandparents. We proceeded to spend 45 min on the phone with them trying to get a new version of Flash installed on their WinXP machine so they could see the animation of the grandkids. We suggested that they just wait until they came over to the house during the weekend to see it but they didn’t want to wait. After, in total, almost 1 hour, they were able to see the 1 min long clip of the kids.
Point is, if people want a piece of content badly enough, they will jump through hoops. Not an excuse by ANY stretch and we need to constantly improve the experience, so don’t misunderstand me. I am not an apologist for the things that should work better, but “commercial suicide”? That is WAAAYYY overreaching.
For IE isn’t there the object tag (I thought I saw somewhere else that you had very little firefox ppl) which starts a wizzard, which installs it quite easily. Well these days it’s probably a bar at the top saying “this website requires java for some of it’s content click here to install”.
I can’t confirm as I don’t have windows here, and I haven’t fiddled with applets for years. I know that six years ago java could be installed as easily as flash(using the right tags). IE has changed and ActiveX has fallen from grace(wonder why :
;)) so it might not be the case any more.
Average people will jump through hoops for Flash because without it they can’t get to YouTube. Before YouTube and its ilk, people did resist Flash to a very large extent, as it was almost exclusively used to bring us crappy adver-games.
Java doesn’t have a killer app like YouTube to make sure people keep their JVMs up to date - Azureus might be the closest thing we’ve got, but there are so many non-Java alternatives for torrents that I don’t think it quite fits the bill. That is the crux of the problem; perhaps JavaFX will help in that regard if some big players adopt it, but that’s up in the air at the moment, and it’s a chicken and egg problem.
If I’m correct, though, once people get 6u10 they will be auto-updated, right? That should help the future of consumer Java considerably once a decent number of people get there. It’s also a feature that should have been added almost a decade ago, but that’s another matter altogether…
Well there is openoffice too? I gues. http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org not sure how aggressive it is. Openoffice is beeign picked up by students - best proof for that is possibly office for home users and students.
Most will get 6u10 from software update (I’ve been watching 6u10 hits on my server slowly creep up over the past few weeks)
Okay, here’s the bug # I mentioned earlier:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6391104
It sounds like you can alleviate the problem by using smaller jars. So in your distribution step, combine all your jars into one and use ProGuard on it. Also, one applet per page seems to be better, but I’m not sure if your app requires multiple applets in a page.
The point is that I’m not targetting gamers at all! The random middle aged (innocent!) visitor that is interested in fully customizable closets (the folks that don’t know the diff between MS Paint and Photoshop) should be able to ‘click and go’, instead of ‘click and start the procedure’.
Targeting gamers is much much easier. When you target older (tech-ignorant) people, it IS a commercial… nightmare. (mmmkey?)
Further, I’m not whining (maybe it gets interpretated that way) but that’s not my intention. I’m very gratefull that we can finally offer visitors something that is (more or less) guaranteed to work, now that we have u10.