Hi Mike,

Just above the line you give, there is a discussion of “setting up your Java 
CLASSPATH” - you need to do this first.

Assuming you’re on Windows (because your email includes “Sent from Mail for 
Windows 10”), you’ll need to do something like the following before invoking 
the java command you ran (caveat: untested):

prompt> set 
CLASSPATH="core\lucene-core-7.1.0.jar;queryparser\lucene-queryparser-7.1.0.jar;analysis\common\lucene-analyzers-common-7.1.0.jar;demo\lucene-demo-7.1.0.jar”

--
Steve
www.lucidworks.com

> On Nov 10, 2017, at 5:26 PM, Mike Lynott <mklnt...@gmail.com> wrote:
> 
> The Lucene demo calls for file that’s not provided.
> 
> On this page:
> http://lucene.apache.org/core/7_1_0/demo/overview-summary.html#overview_description
> 
> we are told to run this command:
> 
> 
> java org.apache.lucene.demo.IndexFiles -docs {path-to-lucene}
> 
> Error message received:
> 
> Error: Could not find or load main class org.apache.lucene.demo.IndexFiles
> 
> Suggestions?
> 
> Mike Lynott
> Sent from Mail for Windows 10
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to