Hi,

On 03/08/2011 10:38 PM, Ilya Zavorin wrote:
It also generated the following exception:

Exception in thread "main" java.net.MalformedURLException: unknown
protocol: c

This is a result of Tika not finding the file you specified, and then trying to resolve the given path as a URL. We probably should detect "c:\" and similar prefixes as special cases that should never be interpreted as a URL.

As mentioned by Benson, this problem most likely has nothing to do with Tika as such, it's just the way the command line interprets the entered characters.

To verify this, try replacing the 'java -jar "C:\Code\ATEK\CT\apache-tika-0.9\tika-app-0.9.jar" --xml' part of your command line with a simpler command like just 'dir'. I predict that you'll get a "File Not Found" error message as a result.

--
Jukka Zitting

Reply via email to