automating java install in packages for 10.7 clients
automating java install in packages for 10.7 clients
- Subject: automating java install in packages for 10.7 clients
- From: "Voges,Aaron" <email@hidden>
- Date: Fri, 29 Jul 2011 08:42:12 -0500
- Acceptlanguage: en-US
- Thread-topic: automating java install in packages for 10.7 clients
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?
--
Aaron Voges
The University of Texas MD Anderson Cancer Center in Houston, TX |
_______________________________________________
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