Mac 安装 Goland2020.3 无法启动

2022-10-29 13:47:13

借鉴了其他人方法。https://segmentfault.com/a/1190000022325350

第一步:terminal,查看GoLand启动错误日志

/Applications/GoLand.app/Contents/MacOS/goland

 输出:

2021-04-21 16:57:18.661 goland[73252:3593251] allVms required 1.8*,1.8+
2021-04-21 16:57:18.664 goland[73252:3593254] Current Directory: /Applications/MxSrvs/www/opencrm/tp5
2021-04-21 16:57:18.664 goland[73252:3593254] Value of GOLAND_VM_OPTIONS is (null)
2021-04-21 16:57:18.664 goland[73252:3593254] Processing VMOptions file at /Users/Name/Library/Application Support/JetBrains/GoLand2020.3/goland.vmoptions
2021-04-21 16:57:18.665 goland[73252:3593254] Done
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

可以看出Error是缺少jetbrains-agent.jar。原因:曾经安装过盗版软件。

解决方案:启动配置文件删除这一行。配置文件在:

/Users/你的名称/Library/Application\ Support/JetBrains/GoLand2020.3/goland.vmoptions

删除这一行

/Applications/GoLand.app/Contents/bin/jetbrains-agent.jar

最后重新启动成功。

PS:尽量买正版啊

  • 作者:white.Jr
  • 原文链接:https://blog.csdn.net/qq_19636481/article/details/115964282
    更新时间:2022-10-29 13:47:13