Solve the problem that Firefox + OpenJDK does not have a Java Plug-in Ubuntu. ubuntuopenjdk

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.