switch from sdkman to jdk-openjdk

This commit is contained in:
Mylloon 2023-11-05 17:17:03 +01:00
parent 670c51d133
commit b5cfad5d87
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 4 additions and 35 deletions

View file

@ -5,7 +5,7 @@ abbr .... "cd ../../.."
abbr ..... "cd ../../../.."
abbr ...... "cd ../../../../.."
abbr - "cd -"
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java"
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes"
abbr cat "bat -pp"
abbr c command # Cancel abbreviation, alias of \
abbr cd.. "cd .."

16
arch.sh
View file

@ -305,22 +305,6 @@ main() {
echo "style_main_window=true" >> /usr/share/copyq/themes/dark.ini
copyq loadTheme /usr/share/copyq/themes/dark.ini
# === Java ==
curl -s "https://get.sdkman.io" | bash
# Temporary disable nounset for SDK
set +o nounset
# shellcheck source=/dev/null
source "$HOME/.sdkman/bin/sdkman-init.sh"
if [ -x "$HOME"/.config/fish ] ; then
if [ ! -f "$HOME"/.config/fish/functions/fisher.fish ] ; then # install fisher if not already installed
curl -sL https://git.io/fisher | fish -c "source && fisher install jorgebucaran/fisher"
fi
fish -c "fisher install reitzig/sdkman-for-fish"
fi
sdk install java 17.0.8.1-tem # https://whichjdk.com/#adoptium-eclipse-temurin
# Renable nounset
set -o nounset
# === UBW (pare-feu) ==
ufw enable

View file

@ -38,7 +38,7 @@ main() {
libsamplerate rsync doxygen otf-fira-sans ttf-fira-code texlive-binextra \
otf-fira-mono mingw-w64-gcc otf-font-awesome soundfont-fluid fluidsynth \
pulseaudio-alsa texlive-latexextra texlive-langfrench texlive-luatex \
noto-fonts
noto-fonts jdk-openjdk
# === Rustup ==
@ -155,22 +155,6 @@ main() {
wget -q --show-progress "${url_tldr:1}" -O completions_fish
mv completions_fish ~/.config/fish/completions/tldr.fish
# === Java ==
curl -s "https://get.sdkman.io" | bash
# Temporary disable nounset for SDK
set +o nounset
# shellcheck source=/dev/null
source "$HOME/.sdkman/bin/sdkman-init.sh"
if [ -x "$HOME"/.config/fish ] ; then
if [ ! -f "$HOME"/.config/fish/functions/fisher.fish ] ; then # install fisher if not already installed
curl -sL https://git.io/fisher | fish -c "source && fisher install jorgebucaran/fisher"
fi
fish -c "fisher install reitzig/sdkman-for-fish"
fi
sdk install java 17.0.8.1-tem # https://whichjdk.com/#adoptium-eclipse-temurin
# Renable nounset
set -o nounset
# === Manual color ==
fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\""
fish -c "set -Ux MANROFFOPT \"-c\""

View file

@ -130,7 +130,8 @@
"gnome-shell-extension-appindicator",
"libreoffice-fresh",
"trash-cli",
"power-profiles-daemon"
"power-profiles-daemon",
"jdk-openjdk"
],
"plugin": null,
"profile": {