This looks like some sort of bug to me:
# java-config -r | java-config -r | tr : " " | xargs ls -1
ls: cannot access /opt/oracle-jdk-bin-220.127.116.11/jre/lib/sunrsasign.jar: No such file or directory
ls: cannot access /opt/oracle-jdk-bin-18.104.22.168/jre/classes: No such file or directory
PS: For apicheck, replacing
$(java-config -r | tr : " ")
$(java-config -r | tr : " " | xargs ls -1 2>/dev/null)
worked well over here.