java – GVM始终离线

前端之家收集整理的这篇文章主要介绍了java – GVM始终离线前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试通过gvm命令’$gvm i gradle’安装gradle,但是我收到了离线模式的消息.
(任何安装失败,并显示以下消息)
➜  ~
➜  ~
➜  ~  gvm i gradle
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.
➜  ~
➜  ~
➜  ~  gvm offline disable
Online mode re-enabled!
➜  ~
➜  ~
➜  ~  gvm i gradle       
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.

附加信息:已配置代理.

➜  ~
➜  ~
➜  ~  ping gvmtool.net
PING gvmtool.net (192.30.252.154) 56(84) bytes of data.
64 bytes from pages.github.com (192.30.252.154): icmp_seq=1 ttl=50 time=150 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=2 ttl=50 time=151 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=3 ttl=50 time=159 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=4 ttl=50 time=155 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=5 ttl=50 time=151 ms
^C
--- gvmtool.net ping statistics ---
5 packets transmitted,5 received,0% packet loss,time 4005ms
rtt min/avg/max/mdev = 150.383/153.800/159.585/3.507 ms

解决方法

如果你半年后来这里:
gvm消失了,它现在是“ sdkman!”.

我需要安装我的工具,可以删除〜/ .gvm /

猜你在找的Java相关文章