jmockit: Native library for Attach API not available in this JRE error

前端 未结 7 1828
时光取名叫无心
时光取名叫无心 2020-12-30 00:32

I was trying to use jmockit to unit test my project and got the following error:

java.lang.UnsatisfiedLinkError: no attach in java.library.path
java.lang.Ill         


        
相关标签:
7条回答
  • 2020-12-30 01:27

    Looks like you need to point your Eclipse to JDK , not JRE.

    Steps :Windows->Preferences>Java>"Installed JRE's" and remove JRE from "Installed JRE's" window and add JDK browsing to your JDK location and select as default.

    0 讨论(0)
提交回复
热议问题