Re: InstallationCheck: How to check if Java 6 is installed on 10.5?
Re: InstallationCheck: How to check if Java 6 is installed on 10.5?
- Subject: Re: InstallationCheck: How to check if Java 6 is installed on 10.5?
- From: Ovidiu Bivolaru <email@hidden>
- Date: Thu, 27 May 2010 21:34:41 +0300
I think you should check for
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
and use this version if exists.
Regards,
Ovidiu
On 5/27/10 12:18 AM, Xochitl Lunde wrote:
I need to fix it so the script will
succeed in a command line installation if Java 1.6 is installed. What
is the right way to check if Java 6 is installed? I am getting my
error string #21 when doing a command line installation on Leopard
using
'sudo' or if I use ARD to remote install. The second check for the
java-version on the command line works fine for GUI installation, and
will
even error out if Java 6 is not enabled for that user.
What I maybe want to do is...
instead
of erroring out with string 21, if I am the root user on OSX 10.5, then
I want to check if Java 6 is 'installed' on this machine, since it
won't
be the version that runs when I'm root to test against.
|
_______________________________________________
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