app_java: add libgcj14-dev support