MQ Error - ./startMQMonitor.sh: JAVA_HOME=/apps/opt/jdk160_39_64: is not an identifier

Document ID : KB000126870
Last Modified Date : 12/02/2019
Show Technical Document Details
Issue:
We are upgrading MQ from 9.6 to 10.7 and are observing the following error: ./startMQMonitor.sh: JAVA_HOME=/apps/opt/jdk160_39_64: is not an identifier How can we resolve this issue?
Environment:
APM 10.7
Cause:
Removed #!/usr/bin/ksh  from the start of the MQ Monitor start shell script.

 
Resolution:
Restore #!/usr/bin/ksh   to the beginning of the MQ Monitor Start shell script..