add trap for "java.version" not being set