Changed compilance level back to Java 6 because of some unsupported
lines