CentOS uses Java method via Chrome

  
                

In Linux, although you can enable Java directly, but sometimes you need to enable Java in Chrome, what do you do in the CentOS system? The following small series will introduce you to CentOS to enable Java through Chrome, interested friends can come to understand.

Step:

1, to the chrome installation directory, which command can be viewed: which google-chrome. My chrome installation directory is /opt/google/chrome

2. Go to the plugins directory and create one if none.

3, find a ready-made or download a jre, confirm that there is this file libnpjp2.so

4, in the plugins directory, create a symbolic link.

ln -s /usr/lib/jvm/jdk1.7.0_05/jre/lib/i386/libnpjp2.so .

Enjoy Java in Chrome

The above is the introduction of CentOS to enable Java using Chrome. When you enable it, you need to go to the Chrome installation directory. Forgot to install the directory, you can use the which command to view it. .

Copyright © Windows knowledge All Rights Reserved