Dialog message for java version < 1.7 will throw an error message