Error "awk: can't open /version/ {print $2} Minimum Java version 1.7 is required to run Patch Utility" When Running The P6 EPPM Patch Utility RunInstaller.sh File To Upgrade (Doc ID 2163579.1)

Last updated on JULY 27, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.2.9.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run the Patch Utility "runInstaller.sh" in a non-windows environment, the following error occurs:

ERROR
-----------------------
awk: can't open /version/ {print $2}
Minimum Java version 1.7 is required to run Patch Utility

STEPS TO DUPLICATE:
-----------------------
The issue can be reproduced at will with the following steps:

  1. Confirm a JAVA_HOME environment variable is set.
  2. Call the the runInstaller.sh for the patching utility.
  3. Note the error which returns and the patch utility does not load.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms