OPatch Fails with Error "bc: command not found"
Last updated on MARCH 02, 2017
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 12.1]
When executing opatch commands following errors received:
$ opatch version
$ORACLE_HOME/OPatch/opatch: line 750: bc: command not found
Invalid maximum heap size: -Xmxm
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
OPatch failed with error code 1
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms