fix for jdk validation