export JAVA_HOME=/u01/app/oracle/product/jdk1.8.0_301 export ORACLE_BASE=/u01/app/oracle export MW_HOME=/u01/app/oracle/product/wls12212 export FR_HOME=/u01/app/oracle/product/fr12214 export PATH=$JAVA_HOME/bin:$PATH

Preparation

Install 64-bit JDK 8 (specifically version 8u151 or newer, though 8u321+ is recommended).

cd $ORACLE_HOME/oracle_common/common/bin ./config.sh

Select "System Load and Product Creation".