update java source version to 1.6

in 1.5 methods overriding an interface definitions aren't allowed to be
annotated with @override, this is a 1.6+ Java feature.