Update Oracle Java from .121 to .131
This commit is contained in:
parent
dcfa96149e
commit
b08f86b039
|
@ -19,16 +19,16 @@ Extract JRE and move it to /opt:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
cd ~/Downloads
|
cd ~/Downloads
|
||||||
tar xf jre-8u121-linux-x64.tar.gz
|
tar xf jre-8u131-linux-x64.tar.gz
|
||||||
sudo mv jre1.8.0_121 /opt/
|
sudo mv jre1.8.0_131 /opt/
|
||||||
sudo ln -svf /opt/jre1.8.0_121/bin/java /usr/bin/java
|
sudo ln -svf /opt/jre1.8.0_131/bin/java /usr/bin/java
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable Java in Firefox:
|
To enable Java in Firefox:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.mozilla/plugins
|
mkdir -p ~/.mozilla/plugins
|
||||||
ln -s /opt/jre1.8.0_121/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so
|
ln -s /opt/jre1.8.0_131/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so
|
||||||
```
|
```
|
||||||
|
|
||||||
## JDK
|
## JDK
|
||||||
|
@ -39,14 +39,14 @@ Extract JDK and move it to /opt:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
cd ~/Downloads
|
cd ~/Downloads
|
||||||
tar xf jdk-8u121-linux-x64.tar.gz
|
tar xf jdk-8u131-linux-x64.tar.gz
|
||||||
sudo mv jdk1.8.0_121 /opt/
|
sudo mv jdk1.8.0_131 /opt/
|
||||||
sudo ln -svf /opt/jdk1.8.0_121/bin/java /usr/bin/java
|
sudo ln -svf /opt/jdk1.8.0_131/bin/java /usr/bin/java
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable Java in Firefox:
|
To enable Java in Firefox:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.mozilla/plugins
|
mkdir -p ~/.mozilla/plugins
|
||||||
ln -s /opt/jdk1.8.0_121/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so
|
ln -s /opt/jdk1.8.0_131/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so
|
||||||
```
|
```
|
Reference in New Issue