Skip to content

Commit aee16ed

Browse files
vorburgergoogle-java-format Team
authored and
google-java-format Team
committed
docs: Clarify minimum Java version in README (see #1225)
@kwin re. #1225 @cushon merge? Fixes #1235 COPYBARA_INTEGRATE_REVIEW=#1235 from vorburger:patch-7 38255fa PiperOrigin-RevId: 741534873
1 parent ec9826b commit aee16ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ 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-
An alternative is to use the available GraalVM based native binaries instead.
22+
The minimum Java version can be found in `core/pom.xml` (currently Java 17). An
23+
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
2526
offsets (`--offset`), passing through to standard-out (default) or altered

0 commit comments

Comments
 (0)