It appears that I have to type gvm use grails x.y.z
and gvm use groovy x.y.z
every time I reboot my PC. Is there a way to configure GVM to do set the versions on startup?
Asked
Active
Viewed 1,684 times
3

Alexander Suraphel
- 10,103
- 10
- 55
- 90
1 Answers
5
Yes, say gvm default grails 2.4.4
for example
From the usage/help on command line:
default or d <candidate> [version]

cfrick
- 35,203
- 6
- 56
- 68

sparkyspider
- 13,195
- 10
- 89
- 133
-
By answering Y or simply hitting enter after using gvm to install grails x.y.z, it automatically makes x.y.z the default. Possibly you opted 'no' on first installation so that gvm had no default set. – Marco Vermeulen Dec 28 '14 at 22:38
-
@MarcoVermeulen No. I did the installations manually because I had downloaded them before starting to use GVM. – Alexander Suraphel Dec 30 '14 at 12:14