set java version to 6