Re: Checking java version
Re: Checking java version
- Subject: Re: Checking java version
- From: email@hidden
- Date: Thu, 28 Sep 2006 17:22:25 +0000
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 <email@hidden>
>
> On mercredi, septembre 27, 2006, at 07:40 PM, email@hidden
> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden