Temurin
Temurin is the distribution of Java provided by the Adoptium project under the Eclipse Foundation umbrella.
First you need to add the repository
Version: Leap 15.3
zypper ar -f https://packages.adoptium.net/artifactory/rpm/opensuse/15.3/$(uname -m) adoptium
and then install the required version following this scheme:
zypper install temurin-11-jdk
To set as new default
sudo update-alternatives --install /usr/bin/java java /usr/lib64/jvm/temurin-11-jdk/bin/java 3000
sudo update-alternatives --install /usr/bin/javac javac /usr/lib64/jvm/temurin-11-jdk/bin/javac 3000