- Download latest version of java from www.oracle.com
- Extract archive in /usr/lib/jvm (if doesn’t exist create it)
- cd /usr/lib/jvm && tar -zxf /tmp/jdk-8u231-linux-x64.tar.gz
- chown -R root: jdk1.8.0_231/
- ln -s jdk1.8.0_231 java-8-oracle
- Configure path to it with update-alternatives
- update-alternatives –install “/usr/bin/java” “java” “/usr/lib/jvm/java-8-oracle/jre/bin/java” 111
- update-alternatives –config java
12
Nov
2019
Recent Comments