Julien, I think I found the way to get a higher level of Java on Amazon Linux 2 using the Corretto library. Here are the commands:
sudo rpm --import yum.corretto.aws/corretto.key sudo curl -L -o /etc/yum.repos.d/corretto.repo yum.corretto.aws/corretto.repo sudo yum list available | grep java
sudo yum install -y java-17-amazon-corretto-devel.x86_64
sudo update-alternatives --config java Select the Corretto Java 17 from the list
big thanks for digging that! I will update the article ASAP and test on my minecraft server !
done @mudhen459 thanks a lot !
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Julien, I think I found the way to get a higher level of Java on Amazon Linux 2 using the Corretto library. Here are the commands:
sudo rpm --import yum.corretto.aws/corretto.key
sudo curl -L -o /etc/yum.repos.d/corretto.repo yum.corretto.aws/corretto.repo
sudo yum list available | grep java
sudo yum install -y java-17-amazon-corretto-devel.x86_64
sudo update-alternatives --config java
Select the Corretto Java 17 from the list
big thanks for digging that! I will update the article ASAP and test on my minecraft server !
done @mudhen459 thanks a lot !