Centos : Firefox : Java : Webmin

My original problem was not being able to see the webmin module, File Managers. It came up with something like "Java not installed"

This is on a Centos 5.x server x86_64

To over come this I did the following.

  1. Upgraded to the latest firefox
  2. yum upgrade firefox
  3. Went to the java website
  4. http://www.java.com/en/download/manual.jsp
  5. Downloaded, near the bottom, Linux x64 RPM
  6. This gave me jre-6u26-linux-x64-rpm.bin
  7. Once I had the file
  8. chmod 777 jre-6u26-linux-x64-rpm.bin
  9. sh ./jre-6u26-linux-x64-rpm.bin
  10. This should also in stall the rpm, to test type
  11. java -version
  12. This should produce
    java version "1.6.0_17"
    OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64)
    OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
  13. Now we need to link with firefox.
  14. mkdir /usr/lib64/firefox-3.6/plugins
  15. This may already exist.
  16. cd /usr/lib64/firefox-3.6/plugins
  17. ln -s /usr/java/jre1.6.0_26/lib/amd64/libnpjp2.so libnpjp2.so
  18. Restart firefox
  19. Type in about:plugins
  20. You should see java in the list
  21. I then went to Webmin, logged in, went to File Manager and now java worked.