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?
Where to find groovy library on intellij(mac) when installed groovy through sdkman
Asked Answered
I ran into similar issue. By using
/Users/<username/.sdkman/candidates/groovy/current
or
/Users/<username/.sdkman/candidates/groovy/<version>
worked for me.
<cmd><shift><.> allows you to pick the hidden folder in the open dialog box. –
Salpinx
CMD+SHIFT+G also appears to work and was the solution recommended by JetBrains. –
Men
Adding the answer that solved my problem (thanks to ThomasW comment)
When dialog box is opened you can click CMDSHIFT. and this allows you to pick the hidden folder in the open dialog box.
Then you can use:
/Users/<username>/.sdkman/candidates/groovy/current
@Downvoter, any helpful explanation to improve the answer? –
Psychokinesis
You may not be able to find groovy path with which
command.
After installation of sdkman on linux-like systems Mac OSX, Linux, Cygwin, Solaris and FreeBSD,
First, run $ source "$HOME/.sdkman/bin/sdkman-init.sh"
, then you will be able to access the installed development kits.
Namely, if you type 'which groovy'
it should show the path, and you can invoke other SDK commands.
© 2022 - 2024 — McMap. All rights reserved.
/users/<username>/.sdkman/groovy/current
or/users/<username>/.sdkman/groovy/<version>
. Mark that.sdkman
might not be visible in IntelliJ by default, but tracing through the directory structure should be possible. – Gamboawhich
shell command.which groovy
will tell you the answer – Shippencurrent
in the project config in IntelliJ as that will change which GDK it points to over time. Rather use/Users/<username>/.sdkman/candidates/groovy/<version>
for the specific version your project needs. – Lanettelaney