Correct java extension string (#12684).

Change-Id: I1b96a44f0e79f3181c8fcd27fa416a392300d420