Sample Header Ad - 728x90

How to install latest OpenJDK on Debian?

2 votes
2 answers
5275 views
I have Debian 10 and openjdk-11-jdk installed from the Debian repository. I have to run a program that was compiled with Java runtime version 58 so I need to update it. I downloaded the .tar.gz of OpenJDK 15 available at java.net . I extracted the file in /usr/local/bin since it was listed in my PATH variable. I run update-alternatives --list java but I have only OpenJDK 11 listed. How can I install correctly OpenJDK 15?
Asked by Fabiola (21 rep)
Feb 17, 2021, 09:58 AM
Last activity: Feb 17, 2021, 08:52 PM