Regressed to java 6 to support larger audience.