Skip to content

Instantly share code, notes, and snippets.

@vladak
Last active April 28, 2025 22:26
Show Gist options
  • Save vladak/60825dafdf83090661a35dd7982d3966 to your computer and use it in GitHub Desktop.
Save vladak/60825dafdf83090661a35dd7982d3966 to your computer and use it in GitHub Desktop.
How to run Luke

Lucene has Luke built in however I cannot start it directly via lucene/luke/bin/luke.sh on Ubuntu 20.04 with OpenJDK 11.

git clone https://github.com/apache/lucene.git Lucene
cd Lucene
./gradlew assemble
java -cp './lucene/luke/build/lucene-luke-9.0.0-SNAPSHOT/*' \
    -Xmx1024m -Xms512m -XX:MaxMetaspaceSize=256m org.apache.lucene.luke.app.desktop.LukeMain

or just download it from https://lucene.apache.org/core/downloads.html and run bin/luke.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment