private static File createBootstrapJar() throws IOException {
        File file = Files.createTempFile("apache-tika-fork-", ".jar").toFile();
        boolean ok = false;
        try {
            fillBootstrapJar(file);
            ok = true;
        } finally {
            if (!ok) {
                file.delete();
            }
        }
        return file;
    }
Creates a temporary jar file that can be used to bootstrap the forked
server process. Remember to remove the file when no longer used.

@return the created jar file
@throws IOException if the bootstrap archive could not be created
tika-core/src/main/java/org/apache/tika/fork/ForkClient.java