Today I learned that arch has a helper script archlinux-java to set the version of java.
archlinux-java status
archlinux-java set <JAVA_ENV_NAME>
Note
This post is a thought. Itβs a short note that I make about someone elseβs content online #thoughts