错误原因:使用jar破解了idea(pycharm后),被我卸载了
后续进行重装,但利用pycharm.sh启动的时候一直报找不到原先放置的破解jar文件
具体错误如下:
django@ubuntu:/opt/pycharm-2020.2.1/bin$ ./pycharm.sh
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 : /home/python/Downloads/pycharm-2020.2.1/bin/jetbrains-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument
解决思路及办法
找了很久,也删除了之前idea版本的配置文件,但是都没用,最后是查看pycharm.sh里面的内容,看它读取了那些配置文件解决的,最后找到在该目录下面还有个配置文件
django@ubuntu:~/.config/JetBrains/PyCharm2020.2$ pwd
/home/python/.config/JetBrains/PyCharm2020.2
vim pycharm64.vmoptions 删除里面jar路径保存就可以了
转载自留https://blog.youkuaiyun.com/xiao_xia_ming/article/details/108466292