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

Install OpenJDK 9 on Ubuntu 16 for all users

What I want: I want to install openjdk 9 on my ubuntu (server) machine and it should be available for all users. What I have done: Try to install with sudo apt-get install openjdk-9-jdk Java version: openjdk version "9-internal" OpenJDK Runtime…
Peter Lustig
  • 1,585
  • 1
  • 18
  • 34
2
votes
0 answers

Possibility of running Grails SDK in Windows 10 Bash Shell

I'm having issues running the Grails SDK on Windows 10 Bash Shell. I've installed SDKMan to manage and install Grails. | Grails Version: 3.1.12 | Groovy Version: 2.4.7 | JVM Version: 1.8.0_101 me@WORKSTATION:~$ When I run grails create-app…
TechFanDan
  • 3,329
  • 6
  • 46
  • 89
2
votes
0 answers

Error installing grails with SDK - Curl issue

I am having trouble installing Grails via SDK.I installed SDK via the instruction on https://grails.org/download.html#sdkman and sdk installed correctly $ sdk version SDKMAN 5.1.4+78` But when I executed $ sdk install grails I am getting output…
Yimon
  • 21
  • 3
2
votes
2 answers

sdk is not pulling down gradle

I'm looking to develop an application using gradle, groovy, maven other other products supported by sdkman. I'm using cygwin on a windows 10 machine. All seems good and updates most software packages that are needed. When I get to the point of…
Dale
  • 1,613
  • 4
  • 22
  • 42
2
votes
1 answer

Gradle IDEA Plugin can't find JDK on Mac

PLEASE NOTE: THIS IS NOT A DUPLICATE. I want Gradle's IDEA plugin to correctly configure my IntelliJ IDEA CE project for me. I am not interested in any solution that involves manually tuning IntelliJ to find my JDK. This is a Gradle IDEA plugin…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
0 answers

sdkman, grails 2.4.5 and Class path contains multiple SLF4J bindings error

Error SLF4J: Class path contains multiple SLF4J bindings. | Error SLF4J: Found binding in [jar:file:/home/katarina/.sdkman/candidates/grails/2.4.5/dist/grails-plugin-log4j-2.4.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] | Error SLF4J: Found…
2
votes
0 answers

cygwin link generated from sdkman not recognized in windows 7

I am trying to use sdkman to manage versions of Groovy/etc on a Windows 7 box. All is fine when using a cygwin command prompt, but I want the Windows GROOVY_HOME set to the current. To do this, I have tried setting the CYGWIN environment variable…
Bill Turner
  • 869
  • 1
  • 13
  • 27
2
votes
0 answers

NullPointerException when running Grails 3.0.3

I installed Grails 3.0.3 via sdkman on my laptop running Yosemite. lightning-strike-2:server2 benstpierre$ grails Usage: create-app [NAME] --profile=web create-plugin [NAME] --profile=web-plugin | Error Error occurred running Grails CLI:…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
2
votes
1 answer

Spring-Boot and sdkman

I develop Java-applications for many years now and in my latest projects I've used Spring-Boot with great success. On the other hand I like to work with sdkman. It is a tool which saves me a lot of time when I set up my infrastructure by preparing…
michas
  • 21
  • 2
2
votes
3 answers

sdkman behind proxy: install grails fails with 'curl received HTTP 403 from proxy after CONNECT'

Used sdkman to install several packages (had to set proxy and proxy-user in .curlrc to negotiate the corporate proxy). When I tried installing grails and groovyserv they both fail with curl Received HTTP code 403 from proxy after CONNECT. I think…
Gordon Rehling
  • 121
  • 1
  • 7
1
vote
0 answers

How to get all versions (including invisible ones) in SDKMAN

SDKMan has many more versions then that are shown when doing a 'sdk list'. I would like to see those as well, so I can install older versions. SDKMan's API seems to be selective in what it shows, but I cannot find any documentation on it. Based on…
tbeernot
  • 2,473
  • 4
  • 24
  • 31
1
vote
1 answer

How to make /usr/libexec/java_home find JDK installed using SDKMAN on MacOS?

I am making iOS apps in Kotlin, which relies on having a Script Build Phase calling Gradle from XCode. With a JDK installed using SDKMAN, it does not work and produces this error: The operation couldn’t be completed. Unable to locate a Java…
Ribesg
  • 358
  • 4
  • 15
1
vote
0 answers

The .sdkman/candidates/java/current/ folder cacerts file is not working for certs, but the .sdkman/candidates/java/[version]/ folder does

I am trying to add some certs to my java cacerts file, but am consistently getting the error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target,…
Reed M
  • 87
  • 5
1
vote
1 answer

How to solve gradle installation error using sdkman

Has anyone experienced this problem? When trying to install gradle 4.4 the following error is displayed: user@test:~$ sdk install gradle 4.4 Downloading: gradle 4.4 In progress... Warning: Failed to open…
Giovane
  • 11
  • 1
1
vote
0 answers

SDKMAN not showing previously installed java

In my ubuntu 18.04 I have preinstalled oracle java 8 and adoptium java 17. After installing SDKMAN when I try to find existing java, it shows no version is installed. $ sdk current java Not using any version of java SDKMAN version is SDKMAN…
mahfuj asif
  • 1,691
  • 1
  • 11
  • 32
1 2 3
8 9