Solve the problem that Firefox + OpenJDK does not have a Java Plug-in Ubuntu. ubuntuopenjdk
If OpenJDK is installed, it is a pity that it does not have libnpjp2.so.
At this time, all the strange methods on the Internet struggle to be ineffective, but you can use the icedtea plug-in to solve this problem.
The version of icedtea depends on the OpenJDK version installed on the local machine. Generally, default-java-plugin is automatically selected:
1 sudo apt-get install default-java-plugin
The following information is displayed ):
The following NEW packages will be installed: default-java-plugin icedtea-8-plugin icedtea-netx icedtea-netx-common
If icedtea is not selected, You need to manually select the installation or apt-get update.
After the installation is complete, open the webpage with Java Plug-In called, such as Firefox, and call the icedtea plug-in. For example, http://www.java.com/en/download/installed8.jsp. after clicking “verify Java version, Firefox will prompt that the icedtea plug-in can be loaded, and the interface of icedtea will be displayed after the operation is permitted again).
Java version verification page
The IcedTea Logo is displayed when the Applet is called,
The browser will prompt you to allow the IcedTea plug-in to run
Applet authorization page
Verification Successful. The version number is the version number of the OpenJRE currently installed on the host.
Referrence:
Java-Community Help Wiki
This article is based on the knowledge sharing signature-non-commercial use-share the 4.0 International License Agreement for publishing in the same way. You are welcome to reference, repost, or deduct this article, but you must keep this article's signature BlackStorm and link http://www.cnblogs.com/blackstorm/p. If you have any questions or authorization negotiation, please contact me.