Javac: invalid target release: 11 despite having jre11-openjdk

javac is only included in the JDK packages.

Also, use the script archlinux-java to set the global version. See here:
https://wiki.archlinux.org/title/Java

4 Likes