Skip to content

Commit 38255fa

Browse files
authored
docs: Clarify minimum Java version in README (see #1225)
1 parent ec9826b commit 38255fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [fi
1919
Note that it uses the `jdk.compiler` module to parse the Java source code. The
2020
`java` binary version used must therefore be from a JDK (not JRE) with a version
2121
equal to or newer than the Java language version of the files being formatted.
22+
The minimum Java version can be found in `core/pom.xml` (currently Java 17).
2223
An alternative is to use the available GraalVM based native binaries instead.
2324

2425
The formatter can act on whole files, on limited lines (`--lines`), on specific

0 commit comments

Comments
 (0)