From 97393a653187d93dc474ee8ed37a6a2dec25efa2 Mon Sep 17 00:00:00 2001 From: Joshua Strobl Date: Thu, 4 Jan 2018 08:25:54 +0200 Subject: [PATCH] Update Java to 1.8 152 --- software/java/en.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/software/java/en.md b/software/java/en.md index a2b78eb..da7afec 100644 --- a/software/java/en.md +++ b/software/java/en.md @@ -1,6 +1,6 @@ +++ title = "Java" -lastmod = "2017-07-18T20:01:16+03:00" +lastmod = "2018-01-04T06:24:56+03:00" +++ # Java @@ -20,34 +20,34 @@ Extract JRE and move it to /opt: ``` bash cd ~/Downloads -tar xf jre-8u131-linux-x64.tar.gz -sudo mv jre1.8.0_131 /opt/ -sudo ln -svf /opt/jre1.8.0_131/bin/java /usr/bin/java +tar xf jre-8u152-linux-x64.tar.gz +sudo mv jre1.8.0_152 /opt/ +sudo ln -svf /opt/jre1.8.0_152/bin/java /usr/bin/java ``` To enable Java in Firefox: ``` bash mkdir -p ~/.mozilla/plugins -ln -s /opt/jre1.8.0_131/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so +ln -s /opt/jre1.8.0_152/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so ``` ## JDK -Grab the Java Development Kit (JDK) as `.tar.gz` from the [Oracle Download Page](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html). +Grab the Java Development Kit (JDK) as `.tar.gz` from the [Oracle Download Page](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133152.html). Extract JDK and move it to /opt: ``` bash cd ~/Downloads -tar xf jdk-8u131-linux-x64.tar.gz -sudo mv jdk1.8.0_131 /opt/ -sudo ln -svf /opt/jdk1.8.0_131/bin/java /usr/bin/java +tar xf jdk-8u152-linux-x64.tar.gz +sudo mv jdk1.8.0_152 /opt/ +sudo ln -svf /opt/jdk1.8.0_152/bin/java /usr/bin/java ``` To enable Java in Firefox: ``` bash mkdir -p ~/.mozilla/plugins -ln -s /opt/jdk1.8.0_131/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so +ln -s /opt/jdk1.8.0_152/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so ``` \ No newline at end of file