Class JavaLaunchHelper is implemented in two places

前端 未结 4 2135
时光取名叫无心
时光取名叫无心 2021-02-14 09:14

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

4条回答
  •  别那么骄傲
    2021-02-14 10:03

    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)

提交回复
热议问题