Adding a Java plug-ins into your browser to be able to run applets.Added: 2011-09-03
When the Firefox browser and / or Opera in Ubuntu can not display Java applet that resides on a web page and automatically install of plugin does not work, you must manually add this package.
Before making any changes in Ubuntu, make sure that the missing library libnpjp2.so not exists somewhere in the system.
find / -name libnpjp2.so 2>/dev/null
If you can not find the path to the library, must you download package from page Java Downloads for All Operating Systems. After downloading not existing libraries, install them in system. In Ubuntu OS, after downloading package, unzip it, the best way to do it is run command in terminal.
After extracting the files, you need to find a library libnpjp2.so and add a link to this file in the folder browser plug-ins:
- Opera - /usr/lib/opera/plugins
- Firefox - /usr/lib/mozilla/plugins
To create link to file of library Java, can you use command:
sudo ln -s [pathToJavaPlugin] [pathToFolderPluginBrowser]
The operations above may seem daunting, so you should use a script to automate these operations ;)
This script consists of three files. Operation initialization file is instal_plugin_java.bash Example of run scripts in terminal below. The first is the name given initialization file, second name is the name of the Java library package downloaded from the Internet:
Print Select Print Select Print Select
If you find unintelligible text, write to me corrected words, please - lis.la(at)wp.pl