Redefinition failed with error 62 while trying to profile an application

后端 未结 4 727
醉酒成梦
醉酒成梦 2020-12-10 00:31

If I try to profile application, (which is prepared under Eclipse, but running from command line) with the help of VisualVM, I get the following error message

4条回答
  •  Happy的楠姐
    2020-12-10 01:06

    The workaround I found using IntelliJ is to compile to Java 1.6 byte code. The menu option to do so is: File - Project Structure, then set Project language level to 6.

    This precludes you from using Java features only available with Java 7 or 8.

提交回复
热议问题