prog: (Default)
[personal profile] prog
My continued failure to figure out how to deploy a Java application on Windows is holding up the entire volity.net website rollout, and thus delaying our search for money. I have been consistently enraged for about a day now. I have not been this angry at a computing platform for being an uncaring behemoth since the time I was forced to work with Oracle at Harvard.

I have found programs that will take my Jar and make an .exe out of it, and even some that make an .msi installer file out of it. This is a good start, but in every case the resulting program, if opened on a machine without Java installed, will not do the sane thing of silently downloading and installing Java, but instead tell the user that they don't have any Java and leaving them to do something about it.

And this is retarded. Most any non-technical user presented with a dialog nattering about unmet dependencies or (worse) thrown to an apparently random webpage at sun.com is going to include that the program is broken or virused or something, and will trash it without further thought.

Do Windows developers not know this? Do they just not care? Does working with an OS that is already user-hating in a thousand little ways desensitize you against not wanting to produce one more way?

SO ANGRY

Date: 2006-04-13 07:19 pm (UTC)
From: [identity profile] ruthling.livejournal.com
I ran into this kind of issue with, of all things, a Quicktime extension. We spent over half an hour trying to download the right thingy and install it before people came over to watch the thing I needed it for. I finally gave up and used a different program. And this was on a Mac. Grr.

Date: 2006-04-13 07:35 pm (UTC)
From: [identity profile] prog.livejournal.com
I know just what you're talking about. Quicktime Player is one of the most consistently irritating programs on the Mac OS and has been for many years, from its nagware "upgrade to Quicktime Pro" bullshit to its "you're missing an extension" dialog which sends you to an arbitrary webpage that has absolutely nothing helpful on it.

Date: 2006-04-13 08:41 pm (UTC)
From: [identity profile] rikchik.livejournal.com
Quicktime is like Windows Media Player - "I want to play every form of video known to humankind! So I'll try! And if I don't know how, it's your problem! Try to guess what extension to download! Sucker!" Which is a shame, since they're both perfectly good players for their particular file formats. As opposed to VLC which actually can play every form of video known to man, but is humble about it.

Date: 2006-04-14 02:47 am (UTC)
From: [identity profile] radtea.livejournal.com

For what it's worth, when I ran into this problem with a Windows desktop program my solution was to ship the whole Java runtime with the program, every time.

More than 2/3 of our support calls were from people with bad/old/stupid Java installs. The only way I could see around it was to install our own Java in a fine and private place that our app would use. It bloated the install by another 20 meg, but it dropped support calls to almost nothing.

I dunno if that helps your problem at all, but seriously: the world is broken in more ways than you can possibly imagine, and there is no way around it but to brute force the solution. It's amazingly ugly, but one thing my years as a pure scientist taught me is that if you give the universe any choice at all it will always to the maximally perverse thing. The only solution is to leave nothing to chance, and force the universe to conform to you will. Arbitrarily high levels of (metaphorical) violence are permitted in the course of this operation.

Date: 2006-04-14 05:25 pm (UTC)
From: [identity profile] prog.livejournal.com
I'm guessing this software was deployed on hard media, though? We're not planning on doing this for a good long while.

Originally we distributed the first releases of Gamut with a bundled JRE, but got complaints from Windows users offended that their download was three times the size of the other platforms'.

Date: 2006-04-15 06:08 pm (UTC)
From: [identity profile] radtea.livejournal.com

It was hard media at the time, but I did sell the software later through my own company as download-only. It was about 60 M without the JRE, so it was only half-again as big with the JRE as without.

Some users complained, but here's an important truth: users ALWAYS find something to complain about, and part of your job it to make user complaints as trivial as possible. I would rather have users complain about bloat than about the app falling over 'cause of their lame/broken/stupid JRE install. It's a difficult line to walk, but the turth is users don't always know what's best for them, and if you give a short, rational explanation they will usually be grudingly accepting of it.

Date: 2006-04-14 01:07 pm (UTC)
From: [identity profile] karlvonl.livejournal.com
Downloading and installing other required components *silently* is evil. Give the user a dialog telling the user that you (the installer) need to download and install the latest Java, and give the user OK and Cancel buttons. You might recall the Mac blogs going nuts a couple of months ago when it was discovered that some apps such as PathFinder and Sandvox were silently installing Unsanity's Smart Crash Reports. One such blog was Daring Fireball which, as always, has excellent coverage of the topic:

http://daringfireball.net/2006/01/smart_crash_reports

Date: 2006-04-14 05:21 pm (UTC)
From: [identity profile] prog.livejournal.com
If I can figure out how to do this, I will. I guess I didn't mean truly silently; the Java installer compels the user to click through a Sun license agreement before Java goes on the hard drive, and it would be good to throw up a dialog explaining why you're about to see this totally different company's installer dialogs for a while.

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 15th, 2025 01:23 pm
Powered by Dreamwidth Studios