在Mac上对IntelliJ Idea升级出现的错误介绍

今天在Mac上对IntelliJ Idea 进行了升级升级到2017.01后,运行程序时,出现以下红色警告:

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

stackoverflow 上说这是Mac上的java 一个bug,不过这并不影响正常的编程工作。解决方法:在idea中,进入 Help > Edit Custom Properties…修改idea.properties,添加以下内容:

# custom IntelliJ IDEA propertiesidea_rtidea.no.launcher=true

重启idea即可

以上就是在Mac上对IntelliJ Idea升级出现的错误介绍的详细内容,更多请关注其它相关文章!

怎么能研究出炸药呢?爱迪生不经历上千次的来自失败,怎么能发明电灯呢?

在Mac上对IntelliJ Idea升级出现的错误介绍

相关文章:

你感兴趣的文章:

标签云: