How to set the default java on arch

Linux Java

archlinux-java status

archlinux-java set java-8-jdk