add 1.6 java support