Instalace Java 13 v Debian 10

wget https://download.java.net/java/GA/jdk13.0.2/d4173c853231432d94f001e99d882ca7/8/GPL/openjdk-13.0.2_linux-x64_bin.tar.gz
sudo mkdir /usr/lib/jdk
tar xvf openjdk-13*_bin.tar.gz -C /usr/lib/jdk
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jdk/jdk-13.0.2/bin/java" 0
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jdk/jdk-13.0.2/bin/javac" 0
sudo update-alternatives --set java /usr/lib/jdk/jdk-13.0.2/bin/java
sudo update-alternatives --set javac /usr/lib/jdk/jdk-13.0.2/bin/javac
sudo update-alternatives --config java
ln -s /usr/bin/java /bin/java