diff --git a/java.md b/java.md index c91ab63..ea489ff 100644 --- a/java.md +++ b/java.md @@ -12,3 +12,24 @@ https://askubuntu.com/questions/1421306/how-to-install-openjdk-18 * wget the tar * unpack to /opt * set the bin folder in the JAVA_HOME ev + +## 2024-12-05 + +install java and gradle with sdkman. +install sdkman: +```bash +curl -s "https://get.sdkman.io" | bash +source "$HOME/.sdkman/bin/sdkman-init.sh" + +``` + +then install java: + +```bash +sdk install java +``` + +then install gradle: +```bash +sdk install java +```