• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Checking java version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking java version


  • Subject: Re: Checking java version
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 28 Sep 2006 08:52:35 +0200


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
References: 
 >Checking java version (From: email@hidden)

  • Prev by Date: Re: Select Destination screen
  • Next by Date: How to change the Default Message in PackageMaker InstallationCheck
  • Previous by thread: Re: Checking java version
  • Next by thread: Re: Checking java version
  • Index(es):
    • Date
    • Thread