Skip to content

Commit bd145ae

Browse files
Document need to install JDK 8 on Silicon Macs (#3059)
Resolves #3058. Co-authored-by: Sam Brannen <[email protected]>
1 parent 4a87980 commit bd145ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ task outputs from previous CI builds.
6565
You need [JDK 17] to build JUnit 5. [Gradle toolchains] are used to detect and
6666
potentially download additional JDKs for compilation and test execution.
6767

68+
Note: If you're working on a machine with an Apple Silicon processor, you'll need to
69+
download and install a JDK 8 distribution manually (or via [SDKMAN!] or [asdf]) --
70+
for example, one from [Zulu] or [Liberica].
71+
6872
All modules can be _built_ with the [Gradle Wrapper] using the following command.
6973

7074
`gradlew clean assemble`
@@ -92,6 +96,7 @@ See also <https://repo1.maven.org/maven2/org/junit/> for releases and
9296
<https://oss.sonatype.org/content/repositories/snapshots/org/junit/> for snapshots.
9397

9498

99+
[asdf]: https://asdf-vm.com/
95100
[Codecov]: https://codecov.io/gh/junit-team/junit5
96101
[CONTRIBUTING.md]: https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md
97102
[Dependency Metadata]: https://junit.org/junit5/docs/current/user-guide/#dependency-metadata
@@ -101,7 +106,10 @@ See also <https://repo1.maven.org/maven2/org/junit/> for releases and
101106
[JaCoCo]: https://www.eclemma.org/jacoco/
102107
[Javadoc]: https://junit.org/junit5/docs/current/api/
103108
[JDK 17]: https://adoptium.net/archive.html?variant=openjdk17&jvmVariant=hotspot
109+
[Liberica]: https://bell-sw.com/pages/downloads/
104110
[Release Notes]: https://junit.org/junit5/docs/current/release-notes/
105111
[Samples]: https://github.com/junit-team/junit5-samples
112+
[SDKMAN!]: https://sdkman.io/jdks
106113
[StackOverflow]: https://stackoverflow.com/questions/tagged/junit5
107114
[User Guide]: https://junit.org/junit5/docs/current/user-guide/
115+
[Zulu]: https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk#download-openjdk

0 commit comments

Comments
 (0)