objc[999]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines

IDEA报错

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

出错原因

这是一个java在Mac上的一个系统bug;
java9或者java8 update 152 后已经修复。

解决方式

  1. 打开IEDA;
  2. Help --> Edit Custom Properties
    即(帮助 -> 编辑自定义属性。如果提示没有,可新建)
  3. 在配置文件中添加如下配置:
    # custom IntelliJ IDEA properties
    idea_rt
    idea.no.launcher=true
  4. 重启IDEA。

同样的,IDEA还可能会报objc[1060] ,objc[1071] , objc[46679], objc[3087]等错误代码,解决方式基本一样。

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

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

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

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值