Hi, May be windows path separator messing things. Can you try to copy jars to current working directory and re-try java -classpath lucene-demo-5.3.1.jar;lucene-core-5.3.1.jar Ahmet
On Thursday, December 3, 2015 11:57 PM, jerrittpace <jerrittp...@yahoo.ie> wrote: I am trying to set the classpath for the lucene jars I have tried many different variations of the following: java -classpath C:\Users\User5\Documents\lucene\lucene-5.3.1\demo\lucene-demo-5.3.1.jar;C:\Users\User5\Documents\lucene\lucene-5.3.1\core\lucene-core-5.3.1.jar org.apache.lucene.demo.IndexFiles -docs {path-to-lucene}/src That code is similar to the commands I have found in the various examples i've found on the web addressing this sort of issue. I also tried java -classpath C:\Users\User5\Documents\lucene\lucene-5.3.1\demo\lucene-demo-5.3.1.jar;C:\Users\User5\Documents\lucene\lucene-5.3.1\core\lucene-core-5.3.1.jar org.apache.lucene.demo.IndexFiles -docs {C:\Users\User5\Documents\lucene\lucene-5.3.1}/src The lucene site at https://lucene.apache.org/core/2_9_4/demo.html basically just says "Put both of these files in your Java CLASSPATH." I am not able to solve this concern as of now, and so I would really appreciate any help I can find to steer me in the right direction to solve this problem. Thank you in advance for your help!! -- View this message in context: http://lucene.472066.n3.nabble.com/lucene-classpath-tp4243489.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org