How do I install Java Run Time (JRE) environment for Firefox?

First visit Sun java site and download latest JRE for Linux. You can download RPM or self-extracting file. All the information to install JRE is on same page, just follow it. Once you downloaded and installed the JRE, you need to restart FireFox and Test your JRE installation.