美文网首页
解决:java and libinstrument.dylib

解决:java and libinstrument.dylib

作者: 苏打柠檬水 | 来源:发表于2017-08-23 16:34 被阅读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
    

    相关文章

      网友评论

          本文标题:解决:java and libinstrument.dylib

          本文链接:https://www.haomeiwen.com/subject/nwtjdxtx.html