您的位置:首页 > 编程语言 > Java开发

eclipse中执行程序时报错'A JNI error has occurred,please check your installation and try again'

2017-08-22 17:05 441 查看

第一次运行testNG,发现报错:Error: A JNI error has occurred . Please check your installation and try again.


1.第一种解决:导入jcommander-1.48.jar包后运行.

下载路径为:http://download.csdn.net/detail/u010340178/9782044

2.创建项目的时候,选择JRE时要选择第二个,选择第一个就会报这样的错误。


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐