Java 13 on Debian 10 buster
Last update
2019-12-18
2019-12-18
« — »
Download the latest deb
file from Oracle java page, and:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # install it apt install ./jdk-13.0.1_linux-x64_bin.deb # add alternative option update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-13.0.1/bin/java 1 # choose the oracle version update-alternatives --config java # verify version java -version # env vars export JAVA_HOME=/usr/lib/jvm/jdk-13.0.1 export PATH=$PATH:$JAVA_HOME/bin export J2SDKDIR=$JAVA_HOME |
Source: itzgeek.com