Skip to content

Commit cdc090d

Browse files
authored
Update README with sdkman installation instructions
Added installation instructions for sdkman and Java setup.
1 parent 7cdb0f8 commit cdc090d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

swift-java-hashing-example/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ A simple way to install and manage local Java installations is [sdkman](https://
4141

4242
> Note: You will _not_ have to use most recent Java versions for your Android app, and the example currently targets Java language version 11.
4343
44+
Here's how to install `sdkman`:
4445
```bash
4546
curl -s "https://get.sdkman.io" | bash
46-
sdk install java 25.0.1-amzn --use # only in order to publish swift-java artifacts locally
47+
```
48+
Now restart the terminal so that the `sdk` utility is added to your path, and then set JDK 25 as your current Java install.
4749

50+
```bash
51+
sdk install java 25.0.1-amzn --use # only in order to publish swift-java artifacts locally
4852
export JAVA_HOME="${HOME}//.sdkman/candidates/java/current"
4953
```
5054

0 commit comments

Comments
 (0)