you might be able to get the current 1.6 java .bin to install
( read the install instructions on the Oracle web site)
/opt is a normal install location for manually installed code
but you will need to point software to it's location
i doubt that 1.7 will even run on that old OS , it might ???
jdk1.7.0_27 and install jre-7u40-linux-x64.rpm
forget about using the rpm
it is GOING to error with unsolved DEPENDENCIES
it is for RHEL 6.6 and NOT the old 5.? series
have you searched the redhat knowlagebase ?
login to the redhat site and search
also you can read the install instructions
https://access.redhat.com/documentat...erprise_Linux/ in the redhat docs
the install instructions ARE there for using the bin file
you have to login to the redhat site with the credentials you set up when you BOUGHT!!!
the REQUIRED!!! support contract !!!
one of the issues is java is GOING!!!!!!! to NEED some fonts installed
and they ARE IN THE REDHAT REPO!!!!!!
and to install them you NEED the required support contract from redhat
install the free alternative
but again 5.7 is and HAS been unsupported
5.11 is the current version