Mac install does not install Java if required

  • 7010140
  • 08-Feb-2012
  • 12-Jul-2012

Environment

Novell ZENworks 11 Configuration Management Support Pack 2 - ZCM 11 SP2
X Novell ZENworks 11 Configuration Management Support Pack 2 - ZCM 11 SP2

Situation

When installing the Mac agent, error if Java is not installed.
 
ERROR:
 
Exiting with error code -1
Exiting with error code 255

Resolution

To confirm if Java is installed see /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
 
Workaround:  If Java is not installed, on Lion OS automatically call the installer by running java -version