Updates Java version to 6

Since Spring 4 requires it