Skip to content

Instantly share code, notes, and snippets.

@sava-vidakovic
Last active March 9, 2016 19:51
Show Gist options
  • Save sava-vidakovic/df8d4e62efcfdaaf4755 to your computer and use it in GitHub Desktop.
Save sava-vidakovic/df8d4e62efcfdaaf4755 to your computer and use it in GitHub Desktop.

#How to install Oracle Java on Manjaro

Download Oracle Java:

$ wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=109700 -O Java-latest

Extract the downloaded file:

$ tar zxvf jre-7u7-linux-i586.tar.gz 

Move or copy the extracted folder to /opt:

$ sudo cp -pr jre1.8.0_60 /opt

Make sym link for all users:

$ ln -s /opt/jre1.8.0_60/bin/java /usr/bin/java

Now Test If java Installed::

$ java --version

Install the Java plugin for Firefox:

$ mkdir  ~/.mozilla/plugins/ ln  -s /opt/jre1.8.0_60/lib/amd64/libnpjp2.so  ~/.mozilla/plugins/libnpjp2.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment