Zainstaluj adoptium openjdk ubuntu

sudo update-alternatives --install /usr/bin/java java /opt/jdk-17.0.1+12/bin/java 1
Marcio Moises