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

8 lines
357 B
Bash

# Install SDKMAN
curl -s "https://get.sdkman.io" | bash
# 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
fish -c 'sdk install java 17.0.1-tem'