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-126.96.36.199/jre/lib/sunrsasign.jar: No such file or directory
ls: cannot access /opt/oracle-jdk-bin-188.8.131.52/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.