Cannot restore segment prot after reloc: Permission denied

You can temporarily or permanent disable SELinux

Temporarily Disable

To disable
/usr/sbin/setenforce 0

To enable
/usr/sbin/setenforce 1

This is temporary SELinux turn off, thus, you do not need to reboot the system.

Permanent Disable

Edit /etc/selinux/config
vi /etc/selinux/config

You will see the following

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing

Change enforcing to disable

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled

Then, reboot the system.
shutdown -r now

In this particular case, an alternative (and significantly less dangerous) "quick fix" would be to run this:
# chcon -t textrel_shlib_t /agent/jre/lib/i386/client/libjvm.so
But note that a temporary security context change made using chcon is likely to be undone if you need to do a restorecon

Loading