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
125
votes
6 answers

Where does SDKMAN install packages?

I used SDKMAN! to install Groovy which went fine. Where is the installed package now? I need the path for it. I am on Ubuntu 14.04.
Med Tumy
  • 1,705
  • 2
  • 11
  • 20
30
votes
8 answers

"sdk command is not found " is coming the terminal

I installed sdkman in my mac machine and after completion of installation steps and when I tried for sdk to install lazybones in my computer, I am getting error as "sdk command is not found". If anybody have any solution, please let me know.
sai krishna kota
  • 311
  • 1
  • 3
  • 3
26
votes
3 answers

JDKs installed with SDKMAN are not selectable in the IntelliJ IDE

What steps will reproduce the issue? Install SDKMAN (https://sdkman.io) commandline tool Install one or more JDK using sdkman eg.: sdk install java 8.0.232-zulu Open a project in IntelliJ IDEA Navigate to the "Set home directory for JDK" window:…
Péter Veres
  • 955
  • 1
  • 10
  • 25
21
votes
3 answers

How to specify to install oracle jdk instead of openjdk in sdk cli on ubuntu 17.04?

When using sdkman on uBuntu 17.04, I do not see an option to install the oracle jdk. How to specify to install oracle jdk using sdkman on uBuntu 17.04? $sdk list java =================================================================== Available…
Rishikesh Darandale
  • 3,222
  • 4
  • 17
  • 35
21
votes
4 answers

Where to find groovy library on intellij(mac) when installed groovy through sdkman

I installed groovy through sdkman on mac. When i try to create a new groovy project in intellij, it asks for groovy library location. Where can i find the installed groovy?
Rax
  • 563
  • 1
  • 3
  • 17
20
votes
3 answers

Eclipse can't find jdk installed with sdkman

Im new with sdkman, but I managed to install it and install some software with it: JDK, Gradle and a few others. The problem is that after I downloaded Eclipse and tried to run it, it just simply can't find the JDK. I have already exported…
Raziel25
  • 405
  • 1
  • 4
  • 13
19
votes
2 answers

Customizing sdk list / sdk use in sdkman

I'm using a non-public JDK legacy version - precisely jdk-6u171 and I'm wondering if there is a way to list and use my locally installed versions with sdkman. My current results to sdk list…
Fernando Barbeiro
  • 762
  • 4
  • 15
  • 33
19
votes
8 answers

getting 'internet not reachable' with sdkman

Internet is working fine, but I'm getting this error from sdkman: 06:47 $ sdk version ==== INTERNET NOT REACHABLE! =============================== Some functionality is disabled or only partially available. If this persists, please enable the…
ether_joe
  • 1,068
  • 1
  • 13
  • 32
18
votes
0 answers

sdkman hook to link /etc/ssl/java/cacerts to the currently used Java SDK

Debian has a great mechanism to compile all commonly used CA certificates from Thawte, Let's Encrypt etc. as well as locally installed ones from /usr/local/share/ssl into one /etc/ssl/certs/java/cacerts JKS file. That is usually symlinked to…
lathspell
  • 3,040
  • 1
  • 30
  • 49
17
votes
2 answers

How to use SDKMAN! to install packages from within scripts

Having SDKMAN! installed (http://sdkman.io/), I can install packages from the command line using for example: sdk install java 8u144-zulu However, when I try to do the same thing from within a script "my-installer.sh", I get error message: "sdk:…
16
votes
3 answers

SDKMAN! does not work with Eclipse.app or SpringToolSuite4.app (on Mac)

This is a similar issue to: Eclipse can't find jdk installed with sdkman I am still facing the issue on Mac (macos-mojave) Both of my /usr/bin/java /usr/bin/javac are pointing…
nevenc
  • 534
  • 1
  • 4
  • 10
16
votes
10 answers

How do you manage developing with multiple versions of Grails using Windows?

We've been using Grails for a little while now and have been through a few Grails versions now. We don't always want to migrate our 'older' apps immediately but often use a newer version for new development. Changing the Windows environment…
ahanson
  • 2,108
  • 3
  • 23
  • 38
14
votes
1 answer

Oracle java not appearing in SDKMAN?

s@s:~$ sdk ls java ================================================================================ Available Java Versions ================================================================================ 13.ea.18-open 10.0.2-zulu …
user3761308
  • 744
  • 3
  • 14
  • 30
14
votes
3 answers

sdkman is missing a specific java version

I have SDKMAN 5.7.3+337 on an Ubuntu 18.10 which is listing these available versions for java: 13.ea.17-open > * 10.0.2-open 1.0.0-rc-12-grl 12.0.1-zulu * 9.0.7-zulu 1.0.0-rc-11-grl 12.0.1-librca …
Adrian
  • 3,321
  • 2
  • 29
  • 46
13
votes
4 answers

SDKMAN 5.5.9+231 says package is not a valid candidate on MacOS

I have no idea why this started happening, but my SDKMAN stopped working and only displays the following message for whatever package I want to list, install, or use. $ sdk list java Stop! java is not a valid candidate. $ sdk install java Stop!…
nbkhope
  • 7,360
  • 4
  • 40
  • 58
1
2 3
8 9