macos-setup
🐱 Source ☕️ Java SampleGo Sample Angular Sample
  • Mac Setup
  • Getting Started
    • Xcode
    • Homebrew
    • System Preferences
    • Essentials
    • Dotfiles
  • Applications
    • Ghostty
    • Sublime-text
    • JetBrains
    • VSCode
    • Xcode
    • Marta
    • Benthos
    • OrbStack
    • Traefik
    • n8n
  • Platforms
    • Java
    • Node
      • Bub
      • NPM
      • PNPM
      • Turborepo
    • GoLang
    • Rust
    • Python
      • Agno AI
  • DevOps
    • Development Workflow
      • Git
        • GitHub CLL
      • GitOps
      • Documentation
      • mkcert
      • YubiKey
    • Monorepo
    • dnsmasq
    • Docker
    • Skaffold
    • Kubernetes
    • Helm
    • Kustomize
    • kustomizer
    • Terraform
    • Security
    • Cloud
      • gcloud
      • azure
      • aws
  • Tips
    • Git
    • MacOS
Powered by GitBook
On this page
  • SDKMan
  • SDKman Packages Installation

Was this helpful?

Edit on GitHub
  1. Platforms

Java

PreviousPlatformsNextNode

Last updated 1 year ago

Was this helpful?

Install JVM tools and frameworks via

SDKMan

Go to terminal and run:

curl -s "https://get.sdkman.io" | zsh

Note: this is a known which causes installation fail. the temp workaround is:

curl -s "https://get.sdkman.io" | bash

Then execute contents in file via:

source "$HOME/.sdkman/bin/sdkman-init.sh"

Verify the installation went well

sdk version

SDKman Packages Installation

To get a list of current or candidate versions for gradle:

sdk list java

To install the following software, go to terminal and run:

# if you want to manage java version with `sdkman`
# java  `21-graal` is current long-term support (LTS). 
# pick latest LTS version at the time of installation.
sdk install java 21-graal
java --version # verify

sdk install gradle
sdk install maven
gradle --version # verify
mvn --version # verify
sdk install kotlin

# optional
sdk install quarkus
sdk install springboot
sdk install scala

# spark (optional)
# install `spark-shell`, `spark-submit` cli
sdk install spark

When you prompted to set the newly installed software as default enter 'Y'

To see what is outdated for all Candidates

sdk upgrade

To remove old version e.g., gradle 8.4:

sdk uninstall gradle 8.4

TODO: Add graalVM when

How to use

SDKMan
issue
M1 support is releases
sdkman