fixed java version to 1.6

@mikelehen do you mind reviewing?