Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

gvm doesn't seem to like Windows

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a little new to groovy and grails, but willing to try. The problem is, gvm doesn't seem to like Windows. Here is a glimpse into a frustrating adventure with gvm on Cygwin today:

$ spring --version
Spring CLI v1.1.8.RELEASE

$ curl -s get.gvmtool.net | bash

Thanks for using

_____/\\\\\\\\\\\\__/\\\________/\\\__/\\\\____________/\\\\_
___/\\\//////////__\/\\\_______\/\\\_\/\\\\\\________/\\\\\\_
__/\\\_____________\//\\\______/\\\__\/\\\//\\\____/\\\//\\\_
_\/\\\____/\\\\\\\__\//\\\____/\\\___\/\\\\///\\\/\\\/_\/\\\_
_\/\\\___\/////\\\___\//\\\__/\\\____\/\\\__\///\\\/___\/\\\_
_\/\\\_______\/\\\____\//\\\/\\\_____\/\\\____\///_____\/\\\_
_\/\\\_______\/\\\_____\//\\\\\______\/\\\_____________\/\\\_
_\//\\\\\\\\\\\\/_______\//\\\_______\/\\\_____________\/\\\_
__\////////////__________\///________\///______________\///__

Will now attempt installing...

Looking for a previous installation of GVM...
Looking for unzip...
Looking for curl...
bash: line 116: [: too many arguments
Looking for sed...
Installing gvm scripts...
Create distribution directories...
Create candidate directories...
Created for crash: /cygdrive/c/Users/McLDa001//.gvm/crash
Created for gaiden: /cygdrive/c/Users/McLDa001//.gvm/gaiden
Created for glide: /cygdrive/c/Users/McLDa001//.gvm/glide
Created for gradle: /cygdrive/c/Users/McLDa001//.gvm/gradle
Created for grails: /cygdrive/c/Users/McLDa001//.gvm/grails
Created for griffon: /cygdrive/c/Users/McLDa001//.gvm/griffon
Prime the config file...
Download script archive...
Extract script archive...
Cygwin detected - normalizing paths for unzip...
Install scripts...
Attempt update of bash profiles...
Attempt update of zsh profiles...



All done!


Please open a new terminal, or run the following in the existing one:

source "/cygdrive/c/Users/McLDa001//.gvm/bin/gvm-init.sh"

Then issue the following command:

gvm help

Enjoy!!!

$ gvm install groovy
-bash: gvm: command not found

$ source "/cygdrive/c/Users/McLDa001//.gvm/bin/gvm-init.sh"

$ gvm install groovy
GVM can't reach the internet so going offline. Re-enable online with:

$ gvm offline disable

==== BROADCAST =============================================

OFFLINE MODE ENABLED! Some functionality is now disabled.

============================================================
This command is not available in offline mode.

$ echo $GVM_SERVICE
http://api.gvmtool.net

$ gvm install grails
This command is not available in offline mode.

$ gvm offline disable
Online mode re-enabled!

$ gvm install grails
GVM can't reach the internet so going offline. Re-enable online with:

$ gvm offline disable

==== BROADCAST =============================================

OFFLINE MODE ENABLED! Some functionality is now disabled.

============================================================
This command is not available in offline mode.
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you at work? Is there a proxy?
 
David McLure
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was indeed at work. Once home and off of the VPN, things seem to work fine - so thanks! :

 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!