lDEA报错Error: A JNI error has occurred, please check your installation and try again

今天java程序run出现
Error: A JNI error has occurred, please check your installation and try again
在这里插入图片描述

解决方法:修改jre

在这里插入图片描述
估计是新建java项目时选错了jre,可以选择自己本地安装的jre,当然如果你IDEA默认配置的jre没错的情况下,是不会出现这种错误。

猜你喜欢

转载自blog.csdn.net/qq_43688472/article/details/86098435