Installing OCCAS on MacOS is similar to Linux, but with a few extra hoops to jump through...

XQuartz

If installing on Linux from a Mac, you may get a horrible looking display during installation and configuration.

On the Linux server, set this environment variable:

export _JAVA_OPTIONS='-Dsun.java2d.xrender=false'

Installation

Install the Mac OS X x64 version of Java SE Development Kit 8. Yes, even if you have a more modern ARM (M1/M2/M3) Mac, the installation will fail if it's not the Intel version. Apple's Rosetta will allow it to run, albeit more slowly. Don't worry, we won't use this JDK in the future.

Inventory Directory

Create a default Oracle Inventory directory.

mkdir ~/oraInventory

Create a file called "oraInst.loc". Choose a directory for the inventory location.

inventory_loc=/home/jeff/Oracle/oraInventory
inst_group=staff

To determine which versions of Java you have installed, type the following command:

/usr/libexec/java_home -V

You will be treated to an output similar to:

Matching Java Virtual Machines (6):
    17.0.10 (arm64) "Oracle Corporation" - "Java SE 17.0.10" /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home
    11.0.22 (arm64) "Oracle Corporation" - "Java SE 11.0.22" /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
    1.8.401.10 (arm64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
    1.8.0_401 (arm64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home
    1.8.0_301 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home

Set your Java to the x86_64 version (even if you have ARM).

export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_301`
export PATH=$PATH:$JAVA_HOME/bin

To run the installer using Java 1.8.0_301, type the following commands:

export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_301`
export PATH=$PATH:$JAVA_HOME/bin

java -jar occas_generic.jar -ignoreSysPrereqs

Follow the GUI Install steps from above...

Once the installation is complete, we need to comment out the JVM_64 line in the ./oui/.global.properties file. It should look something like this:

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
JAVA_HOME_11_0=/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
JAVA_HOME_1_8=/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home
#JVM_64=-d64