解决:java and libinstrument.dylib

2017-08-23  本文已影响1688人  苏打柠檬水

IDEA maven执行红字警告

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

解决办法:

IDEA 菜单 Help >> Edit Custom Properties
在打开的idea.properties里加上

idea_rt
idea.no.launcher=true
上一篇下一篇

猜你喜欢

热点阅读