Eclipse运行时出现如下问题:
Error: A JNI error has occurred, please check your installation and try again
解决方式如下:
(1)在JRE系统库下单击右键,然后进入Properties。
(2)选中Execution environment:,并选择其中适合你程序的jdk版本即可,我的jdk版本为1.8,jre版本为 jre1.8.0
Eclipse运行时出现如下问题:
Error: A JNI error has occurred, please check your installation and try again
解决方式如下:
(1)在JRE系统库下单击右键,然后进入Properties。
(2)选中Execution environment:,并选择其中适合你程序的jdk版本即可,我的jdk版本为1.8,jre版本为 jre1.8.0