fixed travis build issue : Removed Java 6 support