workaround for incorrect java version