The startServer function attempts to concatenate the given classpath to the tika jar path with a colon. This is appropriate for Linux, but not for Windows where the correct character is the semicolon.
the problem lies (in part) on line 639 of tika.py:
if classpath:
classpath += ":" + tikaServerJar
should instead be:
if classpath:
if Windows:
classpath += ";" + tikaServerJar
else:
classpath += ":" + tikaServerJar
The second half of this issue is that including a naked semicolon causes CLI parsing errors, so the whole classpath variable must be wrapped in quotes.
The startServer function attempts to concatenate the given classpath to the tika jar path with a colon. This is appropriate for Linux, but not for Windows where the correct character is the semicolon.
the problem lies (in part) on line 639 of tika.py:
should instead be:
The second half of this issue is that including a naked semicolon causes CLI parsing errors, so the whole classpath variable must be wrapped in quotes.