Skip to content

Commit cc065ce

Browse files
authored
Update README.md
1 parent c6d54a3 commit cc065ce

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ however any recent enough Java distribution should work correctly. You can use s
8383
# Install sdkman from: https://sdkman.io
8484
curl -s "https://get.sdkman.io" | bash
8585
sdk install java 17.0.15-amzn
86-
sdk install java 21.0.7-amzn
8786
sdk install java 24.0.1-amzn
8887

89-
sdk use java 21.0.7-amzn
88+
sdk use java 24.0.1-amzn
9089
```
9190

92-
Make sure to use Java 21 because Gradle 8.10 isn't quite ready for JDK 24 as time of writing this readme (if this changes, please update the readme).
91+
The use of JDK 24 is required to build the project, even though the libraries being published may target lower Java versions.
9392

9493
❗️ Please make sure to `export JAVA_HOME` such that swift-java can find the necessary java libraries!
9594
When using sdkman the easiest way to export JAVA_HOME is to export the "current" used JDK's home, like this:
@@ -193,4 +192,4 @@ xcrun docc preview Sources/SwiftJavaDocumentation/Documentation.docc
193192
# ========================================
194193
# Monitoring /Users/ktoso/code/swift-java/Sources/SwiftJavaDocumentation/Documentation.docc for changes...
195194
196-
```
195+
```

0 commit comments

Comments
 (0)