V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
Donne
V2EX  ›  Go 编程语言

Mac 安装 Goland 2020.1 之后,打开秒退,求助!

  •  
  •   Donne ·
    Donng · 2020-04-10 10:41:45 +08:00 · 4448 次点击
    这是一个创建于 1482 天前的主题,其中的信息可能已经有所发展或是发生改变。

    以下是错误信息:

    020-04-10 10:29:57.895 goland[1523:31631] allVms required 1.8*,1.8+
    2020-04-10 10:29:57.897 goland[1523:31634] Current Directory: /Users/Donne
    2020-04-10 10:29:57.897 goland[1523:31634] Value of GOLAND_VM_OPTIONS is (null)
    2020-04-10 10:29:57.897 goland[1523:31634] Processing VMOptions file at /Users/Donne/Library/Application Support/JetBrains/GoLand2020.1/goland.vmoptions
    2020-04-10 10:29:57.897 goland[1523:31634] Done
    Error: could not find libjava.dylib
    Failed to GetJREPath()
    OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
    Error opening zip file or JAR manifest missing : /Applications/GoLand.app/Contents/bin/jetbrains-agent.jar
    Error occurred during initialization of VM
    agent library failed to init: instrument
    
    第 1 条附言  ·  2020-04-10 17:57:29 +08:00
    删除了 Support 、Preferences 下的相关目录,然后重新下载了一个可以成功打开了。
    15 条回复    2020-04-13 17:35:30 +08:00
    Donne
        1
    Donne  
    OP
       2020-04-10 11:04:25 +08:00
    删除了 /Users/Donne/Library/Application Support/JetBrains/GoLand2020.1/goland.vmoptions 后可以启动了,瞎猫碰上死耗子。
    peyppicp
        2
    peyppicp  
       2020-04-10 11:07:37 +08:00
    hantsy
        3
    hantsy  
       2020-04-10 11:23:35 +08:00
    Failed to GetJREPath()
    hantsy
        4
    hantsy  
       2020-04-10 11:24:51 +08:00
    @Donne vm 参数配置删除干嘛
    Donne
        5
    Donne  
    OP
       2020-04-10 11:26:07 +08:00
    @hantsy 我是完全没整明白,但是删除确实是能打开了
    hantsy
        6
    hantsy  
       2020-04-10 11:33:24 +08:00
    这个问题出现只是这个文件里面配置有问题,比如 jdk 路径等。
    feelinglucky
        7
    feelinglucky  
       2020-04-10 12:08:11 +08:00   ❤️ 1
    看 `jetbrains-agent.jar` 就知道可能是盗版的受害者,😄️
    senninha
        8
    senninha  
       2020-04-10 14:56:22 +08:00
    启动加载 Java Agent 失败了,删掉启动配置就不会去加载这个 Agent,所以表现就是能“打开”了。。。
    ztcaoll222
        9
    ztcaoll222  
       2020-04-10 15:17:23 +08:00
    jetbrains-agent.jar
    kaifang
        10
    kaifang  
       2020-04-10 15:20:08 +08:00 via iPhone
    一切正常,刚升级到了 goland 2020.1 教育版全家桶
    hallDrawnel
        11
    hallDrawnel  
       2020-04-10 15:21:32 +08:00
    一般直接全部干掉再装就行了。
    justin2018
        12
    justin2018  
       2020-04-10 16:00:58 +08:00
    升级了 真香~~ 貌似 2020.1 支持中文包了~ 没有完全中文化 个别英文还没有翻译~
    Donne
        13
    Donne  
    OP
       2020-04-10 17:36:38 +08:00
    @senninha 所以正确的打开方式是什么
    Donne
        14
    Donne  
    OP
       2020-04-10 17:56:52 +08:00
    删除了 Support 、Preferences 下的相关目录,然后重新下载了一个可以成功打开了。
    sherlockgy
        15
    sherlockgy  
       2020-04-13 17:35:30 +08:00
    因为你目录里面有破解包,新版本加载失败了,你可以从 vmoption 文件里面把你引用破解包那句给删了。正版不贵,600 多,买一个吧,毕竟是帮你挣钱的工具
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2223 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:40 · PVG 12:40 · LAX 21:40 · JFK 00:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.