Class JavaLaunchHelper is implemented in two places

前端 未结 5 1427
迷失自我
迷失自我 2021-02-14 09:41

Today I upgraded my Intellij Idea on macOS Sierra, and now, when I run apps in console I have this error:

objc[3648]: Class JavaLaunchHelper is implemente

5条回答
  •  孤独总比滥情好
    2021-02-14 10:19

    Since “this message is harmless”(see the @CrazyCoder's answer), a simple and safe workaround is that you can fold this buzzing message in console by IntelliJ IDEA settings:

    1. 【Preferences】- 【Editor】-【General】-【Console】- 【Fold console lines that contain】
      Of course, you can use 【Find Action...】(cmd+shift+A on mac) and type Fold console lines that contain so as to navigate more effectively.
    2. add Class JavaLaunchHelper is implemented in both

    image

    On my computer, It turns out: (LGTM :b )

    image

    And you can unfold the message to check it again:

    image

    PS:

    As of October 2017, this issue is now resolved in jdk1.9/jdk1.8.152/jdk1.7.161
    for more info, see the @muttonUp's answer)

提交回复
热议问题