Installation
All Operating Systems
For all operating systems, perform the following tasks:
- Install Oracle Java 11
- Download OCCAS from Oracle eDelivery.
MacOS
Installing OCCAS on MacOS is similar to Linux, but with a few extra hoops to jump through.
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:
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
Now run the installer, like so:
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
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
GUI Install (Linux or Windows)
To launch the installer:
java -jar occas_generic.jar
Welcome
Click Next to continue.
Auto Updates
Skip Auto Updates
Installation Location
Specify Oracle Home. Give it a descriptive file name.
Installation Type
Choose Complete Installation.
Installation Summary
Click the Save Response File button for use in future silent installations. Click Install to continue.
Installation Progress
Click Next to continue.
Installation Complete
Uncheck Automatically Launch the Configuration Wizard.
Silent Install
Need to install OCCAS without a GUI? Here's how to perform a 'silent' install.
Create a file called "oraInst.loc".
inventory_loc=/home/jeff/Oracle/oraInventory
inst_group=staff
Create a response file, "install.rsp".
[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
DECLINE_AUTO_UPDATES=true
ORACLE_HOME=/home/jeff/Oracle/occas81
INSTALL_TYPE=Complete with Examples
Run the 'silent' install.
java -jar occas_generic.jar -ignoreSysPrereqs -silent -invPtrLoc ${PWD}/oraInst.loc -responseFile ${PWD}/install.rsp