Changed to Java 1.6 from java 1.7