Obtaining Java
You can obtain the software here.
Product: Java SE Development Kit 6u38
OS: Linux x64
File: jdk-6u38-linux-x64.bin
Installing Java
Give yourself execute permission for the binary file.
1 | chmod 700 jdk-6u38-linux-x64.bin |
1 | . /jdk-6u38-linux-x64 .bin |
1 | mv jdk1.6.0_38/ /home/oracle/ |
Enable Java for Mozilla Firefox Browser
Make a symbolic link of libnpjp2.so file in your mozilla plugins directory.
1 2 | cd /home/oracle/ .mozilla /plugins ln -s /home/oracle/jdk1 .6.0_38 /jre/lib/amd64/libnpjp2 .so libnpjp2.so |
1 2 | cd /home/oracle/ .mozilla /plugins rm libnpjp2.so |
Validating Java on Mozilla
Type "about:plugins" in the address bar
Check if "Java(TM) Plug-in 1.6.0_38" is there.
No comments:
Post a Comment