This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
manjaroConfiguration/installJava.sh
2021-11-14 14:57:04 +01:00

9 lines
389 B
Bash

# Install SDKMAN
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
# Adding Fish support if fish is installed (assumes that Fisher is already installed)
if [ -x $HOME/.config/fish ] ; then
fish -c 'fisher install reitzig/sdkman-for-fish'
fi
# Install Temurin build according with https://whichjdk.com/#adoptium-eclipse-temurin
sdk install java 17.0.1-tem