eclipse run提示错误解决办法: Native library for Attach API not available in this JRE

 Native library for Attach API not available in this JRE

1.window——>preferences

2.下图 add 添加JDK  applay   ok

eclipse run提示错误解决办法: Native library for Attach API not available in this JRE_第1张图片



3.选中测试类,鼠标右键-->run Configuration 点击“jar”选项,Alternate JAR 选择jdk,不要选择jar,然后Apply 。。。 Run ,应该就可以了。

eclipse run提示错误解决办法: Native library for Attach API not available in this JRE_第2张图片

你可能感兴趣的:(eclipse,library,native)