运行 ./goland.sh报错OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

问题:

运行 ./goland.sh报错

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
请添加图片描述

原因:

我用的是网上的经常出现的呢个破解方法,原因是goland配置的破解补丁路径出错

解决办法:

找到goland64.vmptions文件,使用find命令
在这里插入图片描述

找到后修改里面的内容,
修改/home/你的用户名/.config/JetBrains/GoLand2021.2/goland64.vmoptions里的内容

原来是
![在这里插入图片描述]( https://img-blog.csdnimg.cn/2cf27f1bafbf45f1889c453750da871a.png?x-oss-process=image/watermark ,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA5ryP5rCU5ZOl5ZOl,size_20,color_FFFFFF,t_70,g_se,x_16)
修改后

![在这里插入图片描述]( https://img-blog.csdnimg.cn/62ae502c49b14dafa8e552e633b79945.png?x-oss-process=image/watermark ,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA5ryP5rCU5ZOl5ZOl,size_16,color_FFFFFF,t_70,g_se,x_16)

之后再运行./goland.sh 成功运行

posted @ 2021-09-06 18:49  CJ-cooper  阅读(640)  评论(0)    收藏  举报