Update Java 11 to Java 17 on Debian 10
Budget: €8 – €30 EUR
Hey!
I need some help, tried to install it manually downloading it on wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.deb
and installed it.
cat <<EOF | sudo tee /etc/profile.d/jdk.sh
export JAVA_HOME=/usr/lib/jvm/jdk-17/
export PATH=\$PATH:\$JAVA_HOME/bin
EOF
Still shows Java 11 and I don't know what I did wrong.
I need some help, tried to install it manually downloading it on wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.deb
and installed it.
cat <<EOF | sudo tee /etc/profile.d/jdk.sh
export JAVA_HOME=/usr/lib/jvm/jdk-17/
export PATH=\$PATH:\$JAVA_HOME/bin
EOF
Still shows Java 11 and I don't know what I did wrong.
Related categories:
Business, Accounting, Human Resources & Legal
Linux
Software Architecture
Apache
Ubuntu