objc[2163]: Class JavaLaunchHelper is implemented in both XXX
2017-03-24 11:56
756 查看
Mac版IntelliJ Idea升级到2017.01后,运行程序时,Consoles提示框中会出现如下红色警告:
目前stackoverflow上主流的意见如下:
总的来说,上述警告信息是Java Mac版本的一个Bug,即IDE启动app时被java代理器触发了这个警告。不过这个警告对程序没有任务伤害,你可以选择忽视它。
截图说明:
参考问题列表:
1、《objc[3648]: Class JavaLaunchHelper is implemented in both》
2、《Class JavaLaunchHelper is implemented in both XXX and XXX,One of the two will be used. Which one is undefined [duplicate]》
objc[2163]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java (0x10ba504c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10cab54e0). One of the two will be used. Which one is undefined.
目前stackoverflow上主流的意见如下:
You can find all the details here: IDEA-170117 "objc: Class JavaLaunchHelper is implemented in both ..." warning in Run consoles It's the old bug in Java on Mac that got triggered by the Java Agent being used by the IDE when starting the app. This message is harmless and is safe to ignore. Oracle developer's comment: The message is benign, there is no negative impact from this problem since both copies of that class are identical (compiled from the exact same source). It is purely a cosmetic issue. The problem is fixed in Java 9 and in Java 8 update 152. If it annoys you or affects your apps in any way, the workaround for IntelliJ IDEA is to disable idea_rt launcher agent by adding idea.no.launcher=true into idea.properties (Help | Edit Custom Properties...).
总的来说,上述警告信息是Java Mac版本的一个Bug,即IDE启动app时被java代理器触发了这个警告。不过这个警告对程序没有任务伤害,你可以选择忽视它。
截图说明:
参考问题列表:
1、《objc[3648]: Class JavaLaunchHelper is implemented in both》
2、《Class JavaLaunchHelper is implemented in both XXX and XXX,One of the two will be used. Which one is undefined [duplicate]》
相关文章推荐
- objc[20556]:Class JavaLaunchHelper is implemented in both xxx 警告处理
- objc[20556]:Class JavaLaunchHelper is implemented in both xxx 警告处理
- InteliJ Idea 2017.1 for Mac 版 objc[4163]: Class JavaLaunchHelper is implemented in both XXX提示
- objc[8715]: Class JavaLaunchHelper is implemented in both....
- objc[1183]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0
- objc[8715]: Class JavaLaunchHelper is implemented in both...
- Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined
- Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Wh
- Mac 上 Class JavaLaunchHelper is implemented in both 报错
- Mac 上 Class JavaLaunchHelper is implemented in both 报错
- IntelliJ IDEA提示:Class JavaLaunchHelper is implemented in both的错误解决
- Mac 版本IDEA "Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachie
- Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Con
- Mac 上 Class JavaLaunchHelper is implemented in both 报错
- Mac 版本IDEA "Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachie
- Mac 上 Class JavaLaunchHelper is implemented in both 报错
- idea 启动Class JavaLaunchHelper is implemented in both 。。。
- 【自用】 Mac 上 Class JavaLaunchHelper is implemented in both 报错
- Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Wh
- 【Java】Class JavaLaunchHelper is implemented in both ** and **