objc[...]: Class JavaLaunchHelper is implemented in both

【版本】IntelliJ Idea 2017.1

【系统】Mac

启动应用,系统提示如下信息: 

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

【解决办法】

修改IntelliJ Idea 配置

1.Help --> Edit Custom Properties

2.添加如下信息,关闭,重新打开项目运行。

# custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true