From 9a958d2167024e2ec8d0b56af0f5f256679cbf06 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Mon, 7 Dec 2020 19:57:30 -0500 Subject: [PATCH] java: use SDKMAN to manage JVM tools --- fish/functions/jvm.fish | 21 --------------------- install/homebrew-casks.txt | 2 -- install/homebrew-formulas.txt | 5 ----- 3 files changed, 28 deletions(-) delete mode 100644 fish/functions/jvm.fish diff --git a/fish/functions/jvm.fish b/fish/functions/jvm.fish deleted file mode 100644 index c8f4258..0000000 --- a/fish/functions/jvm.fish +++ /dev/null @@ -1,21 +0,0 @@ -function jvm --argument-names jvm_version - # Only works on Mac - if test (uname -s) != Darwin - echo "Unsupported kernel: "(uname -s) - return 1 - end - - if test -z "$jvm_version" - echo "Usage: jvm " - #echo - #/usr/libexec/java_home --verbose - return 2 - end - - set --local jvm_homedir (/usr/libexec/java_home --version $jvm_version) - - if test $status -eq 0 - echo "Setting JAVA_HOME to $jvm_homedir" - set -gx JAVA_HOME $jvm_homedir - end -end diff --git a/install/homebrew-casks.txt b/install/homebrew-casks.txt index b606786..b32459d 100644 --- a/install/homebrew-casks.txt +++ b/install/homebrew-casks.txt @@ -1,5 +1,3 @@ -adoptopenjdk/openjdk/adoptopenjdk8 -adoptopenjdk/openjdk/adoptopenjdk11 docker font-source-code-pro minikube diff --git a/install/homebrew-formulas.txt b/install/homebrew-formulas.txt index 1db11a3..75137d9 100644 --- a/install/homebrew-formulas.txt +++ b/install/homebrew-formulas.txt @@ -19,7 +19,6 @@ git git-filter-repo gitup go -gradle grpc grpcurl h2o @@ -31,12 +30,10 @@ imagemagick ipcalc jid jq -kotlin kubernetes-cli lazydocker lazygit lighttpd -maven mdbook micro mitmproxy @@ -50,8 +47,6 @@ pssh pup python rustup-init -sbt -scala scour screen stormssh