Manual installation and registration of Java Plugin for Linux

Source: Internet
Author: User

 

Manual installation and registration of Java Plugin for Linux
  JDK documentation

When you install the Java platform, the Java Plugin file is encoded as part of that install. if you want to use Java within Firefox, You need to manually create a symbolic link from the plugin file in the release to one of the locations that Firefox expects. to make the plugin available to all users, create the link inside of the Firefox application's directory, inPluginsSubdirectory. Alternatively, you can create the symbolic link in your home directory, in~ /. Mozilla/plugins. In the remainder of this document, the text ,"FirefoxPluginsDirectory", Implies either of these locations.

This release provides the next-generation Java Plugin. If you have been using the classic plugin, see the notes for further information.

The plugin file for Linux is located here:

<JRE>/Lib/i386/libnpjp2.so

If you are using a 32-bit Firefox, you should use the 32-bit Java Plugin (from the LIB/i386 directory ). to determine which version of Firefox you are running, launch the application, and select the menu itemHelp-> about Mozilla Firefox. At the bottom of the window is a version string line that contains either "Linux i686" (32-bit) or "Linux x86_64" (64-bit ).

To install the Java Plugin follow these steps:

1. Exit Firefox.

2. Uninstall any previous installations of Java Plugin.

Only one Java Plugin can be used at a time. when you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.

Remove the symbolic links (or move them to another directory)Javaplugin-oji.soAndLibnpjp2.soFrom the FirefoxPluginsDirectory.

3. Create a symbolic link to the Java Plugin in the FirefoxPluginsDirectory.

Create a symbolic link to the Java PluginLibnpjp2.soFile in the FirefoxPluginsDirectory:

CD<Firefox>/Plugins ln-S<JRE>/Lib/i386/libnpjp2.so.

 

4. Start the Firefox browser .

 

TypeAbout: pluginsIn the location bar to confirm that the Java Plugin is loaded. You can also click the Tools menu to confirm thatJava ConsoleIs there.

Notes

    • The classic plugin file was located here:

      <JRE>/Plugin/i386/javaplugin-oji.so

      This file shoshould no longer be used and all symbolic links to it removed.

 

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.