Unable to run the mqlicense file with root user with the below error .
ERROR: Unable to execute the Java binary located on the filesystem at:
"./lap/jre/ibm-java-x86_64-80/jre/bin/java"
Check that the installation media is suitable for the system
architecture, and check that the permissions of the installation files
match that contained within the original installation media.
ERROR: You cannot use IBM MQ unless the license
agreement can be accepted.
If the error was caused by a display problem,
read the license agreement file (Lic_xx.txt, where
xx represents your language ) in the 'licenses'
directory of the installation media, and then
run the following command:
mqlicense.sh -accept
Only use this command if you accept the license
agreement.
For other errors, contact your IBM support centre.
[root@ip-10-235-65-44 MQServer]# ls -l ./lap/jre/ibm-java-x86_64-80/jre/bin/java
-rwxr-xr-x. 1 bin bin 8408 Dec 14 2022 ./lap/jre/ibm-java-x86_64-80/jre/bin/java
[root@ip-10-235-65-44 MQServer]# ./lap/jre/ibm-java-x86_64-80/jre/bin/java
-bash: ./lap/jre/ibm-java-x86_64-80/jre/bin/java: Permission denied
------------------------------
sarath kumar
------------------------------