Skip to content

tree-sitter/java-tree-sitter

Repository files navigation

Java Tree-sitter

CI central docs

Java bindings to the tree-sitter parsing library.

Building

  • Install JDK 22 and set JAVA_HOME to it
  • Download jextract and add it to your PATH
git clone https://github.com/tree-sitter/java-tree-sitter
cd java-tree-sitter
git submodule init
mvn test

Alternatives

These alternatives support older JDK versions or Android: