I just noticed Oracle java has *.deb installer and I am having trouble setting the class path.
jdk-13_linux-x64_bin.deb
https://www.oracle.com/technetwork/java ... 72538.html
I tried to set the classpath as follows:
Code: Select all
$cat <<EOF | sudo tee /etc/profile.d/jdk13.sh
export JAVA_HOME=/usr/lib/jvm/jdk-13
export PATH=\$PATH:\$JAVA_HOME/bin
EOF
$source /etc/profile.d/jdk13.sh
Code: Select all
$ java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing)