Re: automating java install in packages for 10.7 clients
Re: automating java install in packages for 10.7 clients
- Subject: Re: automating java install in packages for 10.7 clients
- From: Timothy Sutton <email@hidden>
- Date: Mon, 08 Aug 2011 13:24:45 -0400
- Acceptlanguage: en-US
- Thread-topic: automating java install in packages for 10.7 clients
This doesn't specifically answer the dependency issue of installing it
within a package as needed, but a couple thoughts:
The Java for Lion installer is available via the Apple Software Update
page, so you can install it via any means you like.
http://support.apple.com/kb/DL1421
If it needs to be pulled automatically, the Java bits are also provided in
Apple's Software Update catalog, so a .pkg can be automatically downloaded
and installed:
http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leop
ard.merged-1.sucatalog
But you're never guaranteed that anything will be in that catalog
permanently.
It probably won't be provided by Apple much longer, and in terms of
keeping it up to date, we can only Oracle implement an installation that's
as simple to deploy.
Tim
On 11-07-29 1:09 PM, "Stephane Sudre" <email@hidden> wrote:
>If the Java installer is available as a flat package, you could always
>host it somewhere on a http server.
>
>Then, in your distribution script, you create a remote reference to
>this package.
>
>And you use a requirement for this (invisible or not) choice that
>checks if java is installed. If it's already installed, just unselect
>and disable the choice.
>
>My $0.014
>
>On Fri, Jul 29, 2011 at 3:42 PM, Voges,Aaron <email@hidden>
>wrote:
>> Good morning,
>> I'm attempting to package a few different applications for Mac OS X
>>10.7 and
>> have noticed that many require Java to be installed on the computer.
>>Since
>> the base install of 10.7 doesn't include java i'd like to include a
>>task in
>> the software installer to automatically check and, if not installed,
>>install
>> Java before installing the software i'm packaging. Does anyone know if
>> there is a way to script 10.7 to download and install Java without
>>requiring
>> GUI interaction? For example, if Java isn't installed and you run any
>>java
>> app or command (for example, in terminal enter "java -version" ) a
>>dialogue
>> will appear asking if you want to install Java and, if you chose
>>Install, it
>> will download the software from (presumably) an apple server. I would
>> prefer to automate this install instead of including Apple's java
>>installer
>> since I want my package to always pull the correct and latest version.
>> I checked softwareupdate -list and java isn't an available update so
>>this
>> mechanism doesn't appear to be applicable.
>> Any ideas?
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Installer-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>ordia.ca
>
>This email sent to email@hidden
_______________________________________________
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