@@ -82,9 +82,9 @@ This does require the use of the relatively recent [JEP-454: Foreign Function &
8282This is the primary way we envision calling Swift code from server-side Java libraries and applications.
8383
8484Required language/runtime versions:
85- - ** Swift 6.1** , because of dependence on rich swift interface files
86- - ** JDK 24 +**
87- - We are validating the implementation using the currently supported non-LTE release, which at present means JDK-24 .
85+ - ** Swift 6.1** , because of dependence on rich swift interface files
86+ - ** JDK 25 +**
87+ - We are validating the implementation using the currently supported non-LTE release, which at present means JDK-25 .
8888
8989## swift-java jextract --mode=jni
9090
@@ -104,7 +104,7 @@ This project contains multiple builds, living side by side together.
104104
105105You will need to have:
106106- Swift (6.1.x+)
107- - Java (24 + for FFM, even though we support lower JDK targets)
107+ - Java (25 + for FFM, even though we support lower JDK targets)
108108- Gradle (installed by "Gradle wrapper" automatically when you run gradle through ` ./gradlew ` )
109109
110110### Preparing your environment
@@ -123,12 +123,12 @@ however any recent enough Java distribution should work correctly. You can use s
123123# Install sdkman from: https://sdkman.io
124124curl -s " https://get.sdkman.io" | bash
125125sdk install java 17.0.15-amzn
126- sdk install java 24 .0.1-amzn
126+ sdk install java 25 .0.1-amzn
127127
128- sdk use java 24 .0.1-amzn
128+ sdk use java 25 .0.1-amzn
129129```
130130
131- The use of JDK 24 is required to build the project, even though the libraries being published may target lower Java versions.
131+ The use of JDK 25 is required to build the project, even though the libraries being published may target lower Java versions.
132132
133133❗️ Please make sure to ` export JAVA_HOME ` such that swift-java can find the necessary java libraries!
134134When using sdkman the easiest way to export JAVA_HOME is to export the "current" used JDK's home, like this:
0 commit comments