gettext: disable java

Refs #21102.