On Feb 16, 2011, at 6:52 AM, Matthew Toseland wrote: > On Wednesday 16 Feb 2011 04:07:00 Daxter wrote: >> On Feb 15, 2011, at 9:34 PM, Ian Clarke wrote: >> >>> On Tue, Feb 15, 2011 at 4:29 PM, Matthew Toseland <toad at >>> amphibian.dyndns.org> wrote: >>> Does OS/X (at least the common, maintained versions) have good Java 6 >>> support as of this moment? >>> >>> Yes, we should do it. >> >> The most recent version of OS X is 10.6, which ships with Java 6 >> preinstalled. >> >> 10.5 (which older machines can run) ships with Java 5, but can be upgraded >> to Java 6. The problem is that even though the standard software updates >> install Java 6, it isn't used by default. Here's a guide for users to change >> that:http://gephi.org/users/install-java-6-mac-os-x-leopard/ >> >> Would users running the updated version of Freenet on 10.5 actually need to >> change the default version of Java running, or will Freenet automatically >> choose the right one? > > Okay, so there is a problem. Is it sufficient simply to document the fact > that we need Java 1.6 on the download page? (Which most users won't see) > IzPack or JWS should tell the user...
Well, not necessarily. Whether it's a problem really depends on how Java programs decide which version to use, or really if they get the choice at all. If they do, the code should be fairly simple and all the user would have to do is make sure that they have installed all the updates from Apple. ------ And actually after writing this I thought "why not try it out on Java Web Start?" and so discovered that it's quite easy to require Java 6. I simply opened "freenet.jnlp" in a text editor and changed the line <j2se version="1.5.0+" /> to <j2se version="1.7.0+" /> In an attempt to then run the installer, I received this error: "The application has requested a version of JRE (version 1.7.0+) that is not installed." ------ Now that that's out of the way, we'll still have an issue if we don't tell Mac users ahead of time that if they aren't using 10.6 or greater, the'll need to (1) at least be using 10.5 and (2) actually install all of official software updates from Apple.