Error: A JNI error has occurred, please check your installation and try again
The specified compiler compliance is 1.5, but the JRE has an error like
reference https://qiita.com/ponsuke0531/items/fb59a387cbbd8bb387fd
The Java compiler version was the problem.
Right click on the project → Properties → Select Java Compiler on the left → Select Compiler Compliance Level:
Match the level of JRE. (11) etc. Corresponding this time by changing.