opatch version failed with error: Java (1.7) could not be located. OPatch cannot proceed!

BackgroundI asked one of my colleagues to download the latest opatch patch, in preparation to patching one oracle database 19c home on Oracle Linux platform (8.8).The old utility has version: 12.2.0.1.17 The latest downloaded utility has version: OPATCH_VERSION:12.2.0.1.40 Usually, I start by renaming the old OPatch directory, then extracting the new version under Oracle Home.This … Continue reading opatch version failed with error: Java (1.7) could not be located. OPatch cannot proceed!