Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Built AL2023 locally and path is correct now
bash-5.2# ls -l /etc/alternatives/
total 8
lrwxrwxrwx 1 root root 52 Mar 25 20:06 java -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/bin/java
lrwxrwxrwx 1 root root 43 Mar 25 20:06 java-21-amazon-corretto -> /usr/lib/jvm/java-21-amazon-corretto.x86_64
lrwxrwxrwx 1 root root 59 Mar 25 20:06 java.1 -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/man/man1/java.1
lrwxrwxrwx 1 root root 43 Mar 25 20:06 jre -> /usr/lib/jvm/java-21-amazon-corretto.x86_64
lrwxrwxrwx 1 root root 43 Mar 25 20:06 jre_21 -> /usr/lib/jvm/java-21-amazon-corretto.x86_64
lrwxrwxrwx 1 root root 43 Mar 25 20:06 jre_21_openjdk -> /usr/lib/jvm/java-21-amazon-corretto.x86_64
lrwxrwxrwx 1 root root 43 Mar 25 20:06 jre_openjdk -> /usr/lib/jvm/java-21-amazon-corretto.x86_64
lrwxrwxrwx 1 root root 55 Mar 25 20:06 keytool -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/bin/keytool
lrwxrwxrwx 1 root root 62 Mar 25 20:06 keytool.1 -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/man/man1/keytool.1
lrwxrwxrwx 1 root root 34 Mar 21 02:00 libnssckbi.so.x86_64 -> /usr/lib64/pkcs11/p11-kit-trust.so
lrwxrwxrwx 1 root root 59 Mar 25 20:06 rmiregistry -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/bin/rmiregistry
lrwxrwxrwx 1 root root 66 Mar 25 20:06 rmiregistry.1 -> /usr/lib/jvm/java-21-amazon-corretto.x86_64/man/man1/rmiregistry.1