red-brick/npw: Make Java version check work like all the other version checks