Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Which one is undefined

Idea Intellij 在运行的时候会有以下错误

1
2
3
objc[26668]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/
Home/bin/java (0x10d0944c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/
libinstrument.dylib (0x10e1174e0). One of the two will be used. Which one is undefined.


  • 更新JDK(截至2017年10月,这个问题现已解决)
  • 不更新JDK的方式
    Help | Edit Custom Properties…
    1
    2
    idea_rt
    idea.no.launcher=true
上一篇