Tag Archives: Idea Start Error

How to Solve IDEA Start Error: a jni error has occurred

A JNI error has occurred, please check your installation and try again

Solution:

1. JDK configuration problem, Java configuration_ Home, configure path, configure classpat

JAVA_ HOME=C:\Program Files (x86)\Java\jdk1.7.0

path=%MAVEN_ HOME%\bin;% JAVA_ HOME%\bin

classPath=.;% JAVA_ HOME%\lib\dt.jar;% JAVA_ HOME%\lib\tools.jar;

2. The problem of compilation level is as follows: to match with JDK, it is better to choose 1.5 compilation level for 1.7 JDK