Questions tagged [sdkman]

SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates. Formerly known as GVM the Groovy enVironment Manager.

From sdkman.io:

SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates. Formerly known as the Groovy enVironment Manager, it was inspired by the very useful and tools, used at large by the Ruby community.

GitHub: https://github.com/sdkman/sdkman-cli

121 questions
0
votes
0 answers

Error in Java Installation: "Stop! `java 13.0.2-open` is already installed"

so I installed java on my macos, then when I installed java (sdk install java 13.0.2-open) on my macos console I experienced an error Stop! java 13.0.2-open is already installed. even though when I type comments (java --version) on the mac console I…
user13982479
0
votes
1 answer

'source' statement and 'function' declaration at end of .bashrc interfere with one another

At first I created a script to 'find' a file and switch to that directory. Alas, upon returning from the script, the 'cd' was unchanged. Directory changes within a script are local to that script. I forgot. Sue me. So... I created that same code as…
0
votes
1 answer

Using Eclipse with sdkman! installed Groovy on OSX

I have installed Groovy 3.0.2 using sdkman! on OSX 10.13.6 and 'which groovy' reports /Users/adrian/.sdkman/candidates/groovy/current/bin/groovy But when I attempt to use Eclipse (2020-03 4.15.0) it won't pick up anything but the basic groovy…
adrianmcmenamin
  • 1,081
  • 1
  • 15
  • 44
0
votes
2 answers

sdkman gradle 3.4 cannot determine java version

When working in a terminal with gradle 5.6.1 many things work as expected. E.g. changing to an older java version (1). If I change to gradle 3.4 gradle does not find the jdk any more (1). How do I get gradle 3.4 working on my system again. I would…
Stefan Bollmann
  • 640
  • 4
  • 12
  • 32
0
votes
1 answer

groovysh > sdk - java - WARNING: An illegal reflective access operation has occurred

Running groovysh I get: groovysh WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/snowcrash/.sdkman/candidates/groovy/2.5.2/lib/groovy-2.5.2.jar)…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
0
votes
1 answer

Sdkman Incorrect zsh completion script output

I am using oh-my-zsh and I have been trying to develop a custom completion script for sdkman. However I have encountered a small problem when trying to mutualize some of the commands. Below is the beginning of the completion script. There are three…
matthieusb
  • 505
  • 1
  • 10
  • 34
0
votes
1 answer

Installing sdkman on cygwin

I'm having trouble installing sdkman on cygwin. The instructions say to run the command: curl "https://get.sdkman.io" | bash When I run this command in cygwin I get this: $ curl "https://get.sdkman.io" | bash % Total % Received % Xferd …
CapnKirk
  • 1
  • 1
  • 4
0
votes
2 answers

Can't install sdkman on Mac OS

I am running Mac OS High Sierra and trying to install sdkman like so: curl -s "https://get.sdkman.io" | bash I get no messages returned, but am simply returned to the terminal prompt: $ If I try: sdk version I get: sdk: command not found
rf_wilson
  • 1,562
  • 5
  • 32
  • 44
0
votes
1 answer

Unable to install sbt 0.13.16 using SDK Manager

I'm trying to install sbt 0.13.16 using SDK Manager. $ sdk install sbt 0.13.16 Stop! sbt 0.13.16 is not available. Possible causes: * 0.13.16 is an invalid version * sbt binaries are incompatible with Darwin Below is the SDK details - $ sdk…
user51
  • 8,843
  • 21
  • 79
  • 158
0
votes
1 answer

sdkman changed leiningen, clojure path variable

I've installed the groovy language via the recommended sdkman package and somehow the path for leiningen has messed up i.e. I can no longer do something like (import '[clojure.string :as string]) without raising the following error…
0
votes
1 answer

GGTS doesnt accept newer grails version from SDKman install

I have tried to upgrade both the groovy and trails versions that come with the downloaded version of GGTS on ubuntu linux. When I point to the SDKMan versions of groovy and trails, GGTS rejects it saying they are not valid versions. Does anyone know…
ironmantis7x
  • 807
  • 2
  • 23
  • 58
0
votes
1 answer

JAVA_HOME issue with Grails

I just installed Grails through sdkman, ie: sdk install grails Evrything seems to have worked fine, But when I type grails -version this error comes out: ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-1.7.0- …
NeoVe
  • 3,857
  • 8
  • 54
  • 134
0
votes
2 answers

GVM Error Setting Default Groovy Version

I installed groovy with GVM: gvm install groovy But when I say yes to the set 2.4.6 as default version, I get this error: rm: `/c/Users//.sdkman/candidates/groovy/current' is a directory ln:…
Andrew Hummel
  • 400
  • 2
  • 5
  • 22
0
votes
1 answer

SDK says: an old certificate or corrupted sdk x zip file

After you have given a command: sdk install at beginning downloading is starting, but stopped with curl certificate error or corrupted .zip archive file problem.
Tuomas
  • 169
  • 2
  • 4
-1
votes
1 answer

java_home not detecting jdks installed through sdkman

I installed java jdk 20 and jdk 17 through SDKMAN. I want to be able to do something like this. alias java17="export JAVA_HOME=`/usr/libexec/java_home -v 17`; java -version" But when i do this /usr/libexec/java_home -V It gives me output like…
defaultacc
  • 13
  • 4
1 2 3
8
9