PROBLEM
When trying to install *.rpm file - it exits without installing properly with the message:
echo $? outputs 0 and product has not been installed.
RESOLUTION
rpm -ivv will provide more information on what is going wrong.
If it shows openjdk which outputs "openjdk version" instead of "java version", it means it has not detected the correct java installation.
You will need the official Oracle java package for the *.rpm package to install properly.