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.
- Upgraded to the latest firefox
- yum upgrade firefox
- Went to the java website
- http://www.java.com/en/download/manual.jsp
- Downloaded, near the bottom, Linux x64 RPM
- This gave me jre-6u26-linux-x64-rpm.bin
- Once I had the file
- chmod 777 jre-6u26-linux-x64-rpm.bin
- sh ./jre-6u26-linux-x64-rpm.bin
- This should also in stall the rpm, to test type
- java -version
- 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) - Now we need to link with firefox.
- mkdir /usr/lib64/firefox-3.6/plugins
- This may already exist.
- cd /usr/lib64/firefox-3.6/plugins
- ln -s /usr/java/jre1.6.0_26/lib/amd64/libnpjp2.so libnpjp2.so
- Restart firefox
- Type in about:plugins
- You should see java in the list
- I then went to Webmin, logged in, went to File Manager and now java worked.