Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 866
Rax Avatar asked Feb 21 '16 02:02

Rax


3 Answers

I ran into similar issue. By using

/Users/<username/.sdkman/candidates/groovy/current 

or

/Users/<username/.sdkman/candidates/groovy/<version>

worked for me.

like image 196
KneeLess Avatar answered Nov 12 '22 09:11

KneeLess


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.

enter image description here

Then you can use:

/Users/<username>/.sdkman/candidates/groovy/current 
like image 42
Federico Piazza Avatar answered Nov 12 '22 10:11

Federico Piazza


Just run $ which groovy after have it installed.

like image 32
Cristian Martinez Avatar answered Nov 12 '22 11:11

Cristian Martinez