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