This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new fe1cf34bc38 Update Java versions in build tools instructions
fe1cf34bc38 is described below
commit fe1cf34bc38b1672019137d412bfe9411893b230
Author: Lari Hotari <[email protected]>
AuthorDate: Wed Oct 29 09:24:19 2025 +0200
Update Java versions in build tools instructions
---
contribute/setup-buildtools.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/contribute/setup-buildtools.md b/contribute/setup-buildtools.md
index 9f5c68f82d9..6075cceb536 100644
--- a/contribute/setup-buildtools.md
+++ b/contribute/setup-buildtools.md
@@ -25,15 +25,15 @@ In Pulsar development, we use [Amazon Corretto
OpenJDK](https://docs.aws.amazon.
# find out most recent Amazon Corretto release
sdk l java |grep amzn
# install
-sdk i java 21.0.4-amzn
-sdk i java 17.0.12-amzn
+sdk i java 21.0.9-amzn
+sdk i java 17.0.17-amzn
# switching between versions
-sdk u java 17.0.12-amzn
-sdk u java 21.0.4-amzn
-# adding aliases
+sdk u java 17.0.17-amzn
+sdk u java 21.0.9-amzn
+# adding / updating aliases
cd ~/.sdkman/candidates/java
-ln -s 17.0.12-amzn 17
-ln -s 21.0.4-amzn 21
+rm -f 17 && ln -s 17.0.17-amzn 17
+rm -f 21 && ln -s 21.0.9-amzn 21
# switching between versions using aliases
sdk u java 17
sdk u java 21