【Java】Class JavaLaunchHelper is implemented in both ** and **

详细问题描述如下:

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

其实对程序并无影响,在 Java 9 和 Java 1.8.152 版本里已经修复了。

解决方法参考链接:

  1. http://blog.csdn.net/lizhaowei213/article/details/68951671
  2. https://stackoverflow.com/questions/43003012/class-javalaunchhelper-is-implemented-in-two-places
原文地址:https://www.cnblogs.com/jaxer/p/7357570.html