Categories
Linux

Java Runtime Environment on Ubuntu 64bits and Firefox plugin

Is really use full to have the Java Runtime Environment installed in your Firefox, for example to upload pictures to your facebook.

But how to do this?

In the site of Java they explain how to download and install but not how to install it as a plugin.

Fisrt we need to download the latest Java software from the Java site.

To install JRE on 64bits follow this instructions:

sudo su
cd /usr
mkdir java
cd java
mv /home/USER/Desktop/jreXXXX.bin /usr/java
chmod a+x jreXXXXX.bin
./jreXXXXX.bin

Accept the contract and done!

To install the plugin:

sudo su
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jreXXXXX/lib/amd64/libnpjp2.so

Restart firefox and enjoy!

Notes: Replace the XXX for the version of your file and the line /home/USER/Desktop/jreXXXX.bin replace with your user or the path of download