site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thanks, Stéphane. I don't think this is a stupid idea, and I assume I'll have to do something like this if there is not a standard way of determining Java version from the property list mechanism. -Loren -------------- Original message ---------------------- From: Stéphane Sudre <ssudre2@wanadoo.fr>
On mercredi, septembre 27, 2006, at 07:40 PM, lego.my.ego@comcast.net wrote:
Hi All,
What is the preferred way to check the version of java from Installer? I need to require Java 5.0 or later.
I'm targeting OS X 10.3 and up, so I'd like to use the property list requirements mechanism if possible.
Are there any Apple installers that require a certain Java version I can look at as an example?
Stupid idea:
in the InstallCheck script, just call:
java -version
and parse the output with awk.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com