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

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

 

可以先查看自己的包名,是不是以java开头的,例如我这样eclipse中执行程序时报错'A JNI error has occurred,please check your installation and try again'

如果以java开头的包名就会出现下面这种情况,我也是新手,这是我无意中发现的。希望对一些和我一样的人有帮助。

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