I have set the CLASSPATH, as such: C:\Users\User5>echo %CLASSPATH% C:\Users\User5\Documents\lucene\lucene-5.3.1\core\lucene-core-5.3.1.jar;C:\Users \User5\Documents\lucene\lucene-5.3.1\queryparser\lucene-queryparser-5.3.1.jar;C: \Users\User5\Documents\lucene\lucene-5.3.1\demo\lucene-demo-5.3.1.jar;C:\Users\U ser5\Documents\lucene\lucene-5.3.1\analysis\common\lucene-analyzers-common-5.3.1 .jar
But, when I try to run the demo: C:\Users\User5>java org.apache.lucene.demo.IndexFiles -docs {C:\Users\User5\Docu ments\lucene\lucene-5.3.1}/src I get this error: Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: {C:\Users\User5\Documents\lucene\lucene-5.3.1}/src at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.nio.file.Paths.get(Paths.java:84) at org.apache.lucene.demo.IndexFiles.main(IndexFiles.java:82) Any help would be much appreciated!! -- View this message in context: http://lucene.472066.n3.nabble.com/lucene-classpath-tp4243489p4243596.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