1. Установка JDK8
#mkdir /home/distr/ && /home/distr/
--- https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
#wget https://my.enu.kz/downloads/jdk-8u281-linux-x64.tar.gz
#tar -xvf jdk-8u281-linux-x64.tar.gz
#cp -r jdk1.8.0_281/ /usr/lib/jvm/
#update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_281/bin/java 2
#update-alternatives --config java
— выбрать номер 2 /enter нажать
#update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.8.0_281/bin/jar 2
#update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_281/bin/javac 2
#update-alternatives --set jar /usr/lib/jvm/jdk1.8.0_281/bin/jar
#update-alternatives --set javac /usr/lib/jvm/jdk1.8.0_281/bin/javac
#java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)