Talk:Webmin Modules

From Webmin Documentation
Jump to: navigation, search
newbie to CentOS 6.6 trying to use Webmin File manager and cannot get to work tried downloading Java applet and installing it I do not see it as a plugin...I am using firefox version 31.6.o java version I have is jrel.8.0_45 I think that I installed in usr/java 

however if I do a java -version I get java version "1.7.0_79" OpenJDK Runtime Environment (rhel-2.5.5.1.el6_6-x86_64 u79-b14) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)


if there is a conflict how would I remove files not needed.


This is really not the best place to ask questions; there is a mailing list for Webmin at webmin.com, and we also welcome questions like this in the Help! forum at Virtualmin.com here: http://www.virtualmin.com/forum/7

Please take future questions there.

The short answer is that you likely need to link the Java plugin into the plugins directory for your browser. I don't remember exactly how to do that; probably needs to be added in ~/.mozilla/plugins. And, the plugin seems to be named libnpjp2.so (you can probably use the locate command to find it: "locate libnpjp2.so").

So, for example, on my system, I'd probably do:

$ locate libnpjp2.so
/usr/java/jdk1.8.0_31/jre/lib/amd64/libnpjp2.so
/usr/java/jre1.7.0_60/lib/amd64/libnpjp2.so
$ ln -s /usr/java/jdk1.8.0_31/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Note that the second and third lines of that are showing that I have two versions of Java installed (I think it's the Oracle JDK and the JRE provided by Fedora). I picked the Oracle version to link.

It's possible to have multiple of java versions installed. They don't conflict.

SwellJoe (talk) 20:17, 23 April 2015 (EDT)