Ubuntu – Install Java Plugin in Pale Moon Browser


Pale Moon seems to continue supporting NPAPI plugins like Java indefinitely. I use a website, which require java plugin enabled. But I can't get the java plugin in the plugins list. I know the symbolic link method for Firefox. How to install the plugin in Pale Moon? I'm on Ubuntu 16.04 LTS 64 bit, Java JDK 8u121 and Pale Moon 64 bit

Edit1: After 3 years of asking this question, Java plugin still works fine in Palemoon v28.9.2-1 64 bit on Ubuntu 20.04 LTS. Java version is JRE 8u251 64 bit

Edit2: As of 20th October 2020, Oracle completely removed Java Plugin from 8u271 JRE and JDK packages mentioned in this article. But 8u261 or prior versions works just fine.

Best Answer

As Gunnar Hjalmarsson said,

To install java plugin in Pale Moon web browser, you have to create a symbolic link of the file libnpjp2.so to the directory /usr/lib/mozilla/plugins

Here goes the exact terminal command

sudo ln -s /usr/lib/java/jdk1.8.0_121/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so

If needed, make corresponding changes to the command, if your java version and/or system architecture is different.

Note: Install latest Java JRE/JDK properly before adding symbolic link.

I have verified that the java plugin is working, by going to this page.

I have verified that the java plugin is working

Related Question