您的位置:首页 > 编程语言 > Java开发

Mac 上idea启动程序 “Class JavaLaunchHelper is implemented in both 。。。”错误解决

2018-03-07 12:28 681 查看
今天更新最新版本IntelliJ IDEA时遇到
Class JavaLaunchHelper is implemented in both
错误,大致是:

objc[99623]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java (0x1015e54c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x102e5c4e0). One of the two will be used. Which one is undefined.

解决办法

点击IntelliJ IDEA上面菜单的”Help”下的“Edit Custom Properties”,在文件中加上
idea.no.launcher=true




重启再试

PS:若没有idea.properties文件,则点击“Edit Custom Properties”会提示创建一个,再在里面加入idea.no.launcher=true
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  idea
相关文章推荐