Mac 上pycharm启动不了 Class JavaLaunchHelper is implemented in two place, One of the two will be used. Which one is undefined

时间:2020-12-03 17:20:59

今天pycharm启动不了,点击pycharm图标没反应,查了下系统日志/var/log/system.log看到如下报错

objc[51527]: Class JavaLaunchHelper is implemented in both /Applications/PyCharm.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib (0x      10c4a1480) and /Applications/PyCharm.app/Contents/jre/jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10cff74e0). One of the two will be used. Which one is undefined.

尝试过以下方法都不成功:

1. 重装pycharm

2. 换最新版的pycharm

3. 重启系统

4. 重装jdk

均以失败告终.......

 

后来找了下用户目录下的文件,找到了pycharm的配置。

在这个目录下:/Users/YourUserName/Library/Preferences/PyCharm2016.2/

Mac 上pycharm启动不了 Class JavaLaunchHelper is implemented in two place, One of the two will be used. Which one is undefined

删除截图的几个文件后恢复。