This article discusses issues that can occur due to the Java versions being used on Mac OS X.
Apple Java 6 For Java versions 6 and below, Apple supplies their own version of Java. As a result, it is not possible to bundle Apple's Java 6 or below with an InstallAnywhere installer on OS X. InstallAnywhere 2013 and earlier only allows you to create OS X installers that search for JRE 6 and earlier. Note that Apple has posted notice that Mac OS X 10.11 (El Capitan) will be the last OS X release that supports Java 6, and as such, recommends developers whose applications depend on Java 6 to migrate their apps to a newer Java version provided by Oracle.
Java 7 and 8 With InstallAnywhere 2013 and later, you can build installers that search for JRE 7 and later. However, InstallAnywhere 2013 does not support running with Java 8 on OS X, so you will need to upgrade to InstallAnywhere 2014 or later for Java 8 support on OS X 10.8 and later. You will need to upgrade to InstallAnywhere 2017 or later for Java 8 support on macOS 10.12 (Sierra) and later.
Getting prompted to install Java On OS X 10.11 (El Capitan) and macOS 10.12 (Sierra), you may get prompted with the following message:
To use the "java" command-line tool you need to install a JDK
On OS X 10.10 (Yosemite), you may get prompted with the following message:
To open "application" you need to install the legacy Java SE 6 runtime.
This is most commonly because an application requires the legacy Java 6 provided by Apple. For the solution to this issue, refer to the Apple Knowledge Base article.