If you download the binary distribution, try this: Windows: java --module-path modules;modules-thirdparty --module org.apache.lucene.demo/org.apache.lucene.demo.IndexFiles
Linux/Unix/Mac: java --module-path modules:modules-thirdparty --module org.apache.lucene.demo/org.apache.lucene.demo.IndexFiles We should make launching those demos easier, sorry about this. Like Mike said though, Lucene is a low-level library - the "demos" are mostly meant to be run from an IDE or as a resource for copy/pasting into your own sources. D. On Mon, Apr 22, 2024 at 12:59 AM Siddharth Jain <siddh...@gmail.com> wrote: > Hello, > > I am a new user to Lucene. I checked out the Lucene repo > <https://github.com/apache/lucene/tree/releases/lucene/9.10.0> and synced > to releases/lucene/9.10.0 tag. From there I have run following commands: > > ./gradlew > ./gradlew assemble > > I would now like to run the demo program. How can I do that? I see some > class files under lucene/demo/build/classes/java/main but how do I build > the full classpath with all the dependencies needed to run the demo > program? Can anyone help me? Thanks, > > S. >