which java package arch linux code example Example: arch linux select java version archlinux-java set java-8-openjdk/jre