The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

melling (2) [Avatar] Offline
#1
Need a colon as a CLASSPATH separator.

The book says this:
java -cp lucene-core-3.0.0.jar;lucene-demos-3.0.0.jar org.apache.lucene.demo.IndexFiles docs

It needs to be this:
java -cp lucene-core-3.0.0.jar:lucene-demos-3.0.0.jar org.apache.lucene.demo.IndexFiles docs
otis (156) [Avatar] Offline
#2
Re: A.2 example
Hi,

Thanks. This looks like UNIX vs. Windows situation, that's all - UNIX uses semicolon, and Windows needs a colon character.

Otis