Issue #2389687 by zero2one: Run the Tika jar file in headless mode