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
3
votes
1 answer

Does SDKMAN! install JRE only or also JDK?

I'm trying to use VisualVM but I'm getting the following error: You are running VisualVM using Java Runtime Environment (JRE) I'm using SDKMAN! to manage my Java versions What should I do to make VisualVM work?
IsaacLevon
  • 2,260
  • 4
  • 41
  • 83
3
votes
1 answer

Is it impossible to run Java Web Start application using "SDKMAN!"

Hello I'm not familiar with Java. I'm trying to run Java Web Start (javaws command) using SDKMAN! to use a Supermicro's legacy IPMI application. It seems that Oracle Java 8 was able to run javaws but it is removed since Java 9. It also seems that…
shuuji3
  • 1,233
  • 13
  • 20
3
votes
3 answers

Cannot build dockerfile with sdkman

I am entirely new to the concept of dockers. I am creating the following Dockerfile as an exercise. FROM ubuntu:latest MAINTAINER kesarling RUN apt update && apt upgrade -y RUN apt install nginx curl zip unzip -y RUN apt install openjdk-14-jdk…
kesarling He-Him
  • 1,944
  • 3
  • 14
  • 39
3
votes
1 answer

Issue with SDKMAN install of Java and Maven. The JAVA_HOME environment variable is not defined correctly

I'm having issues with my maven install. I had several old versions of java installed via various sources: sdkman, home brew, directly, etc. As such my java install seemed like a mess. I've since uninstalled all versions and totally cleaned my…
TimJ
  • 426
  • 4
  • 12
3
votes
1 answer

Eclipse MemoryAnalyzer and sdkman

I am trying to run Eclipse MemoryAnalyzer on my Mac 10.13.6 (High Siena). When I start it, I get a message that reads To open "MemoryAnalyzer" you need to install the legacy Java SE 6 runtime There are several mentions of that on StackOverflow,…
Alex
  • 871
  • 7
  • 23
3
votes
1 answer

sdk: command not found

I have installed SDKMAN! as root on my server and want all my users (developers) to have access to it. For that I did: export SDKMAN_DIR="/usr/local/sdkman" && curl -s "https://get.sdkman.io" | bash source…
Pablo Pazos
  • 3,080
  • 29
  • 42
3
votes
1 answer

how to install griffon 2.5 with sdkman

How do you install griffon version 2.5? If I run sdk list griffon it shows me version 1.5 as latest version.
user5181073
3
votes
1 answer

Where is my groovy library located?

I installed Groovy with sdkman and everything went well, but when I want to make a new project in Intellij Idea I am prompted to choose the Groovy SDK, but I can't find it anywhere. So my question is where is the groovy library installed? Let me…
Horsty
  • 321
  • 6
  • 18
3
votes
0 answers

grails tab autocompletion not working within interactive mode

when I am within grails interactive mode the tab auto completion is not working. I have tried grails 2.5.3, 3.1.0 and 3.1.1 and none of them are working. Grails still works fine when I type in the full syntax. My environment - All my grails version…
Kai
  • 31
  • 2
2
votes
2 answers

sdkman! How to manage pre-existing JDK?

I wanted to try Java 19 and have easy switching back to the Java 17 that I have already installed. So, I installed sdkman but it knows nothing of the previous Java. Found the "install local" command, used it to link the java 17 location to a unique…
2
votes
1 answer

sdkman on OSX can neither install nor uninstall Java 1.8

Running OSX 10.15.7, sdkman 5.9.1+575. sdkman seems to have gotten into a bad state where it thinks Java 1.8 both is and is not installed. $ sdk uninstall java 1.8.0 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ java 1.8.0 is…
Dan
  • 2,952
  • 4
  • 23
  • 29
2
votes
1 answer

Install Sdkman in an Alpine based Docker Image

I need to install Sdkman in an Alpine based docker image, but there is a problem that default shell is not Bash. Then command: source "$HOME/.sdkman/bin/sdkman-init.sh" ends with failure: /bin/sh: /root/.sdkman/bin/sdkman-init.sh: line 40:…
marosbfm
  • 311
  • 2
  • 10
2
votes
0 answers

An illegal reflective access operation has occurred after running a groovy program

After compiling my program groovy, I got this error before the expected result. Please, how can I fix this? WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1…
PILA
  • 625
  • 1
  • 5
  • 18
2
votes
1 answer

How to write script for initializing sdkman versions in a shell

I am using SDKMAN! and I am trying to write sdkinit.sh script for my project to initialize current shell with specific tools versions. source "$HOME/.sdkman/bin/sdkman-init.sh" sdk use groovy 2.4.16 sdk use java 8.0.212-zulu Even though I call the…
Dariusz Mydlarz
  • 2,940
  • 6
  • 31
  • 59
2
votes
3 answers

Is it possible to install jre6 using brew or sdkman?

Is it possible to install jre6 using brew or sdkman? I tried: $ brew install jre6 Updating Homebrew... Error: No available formula with the name "jre6" $ brew install java6 ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae…
user674669
  • 10,681
  • 15
  • 72
  • 105
1 2
3
8 9