C
C
CyberKing2020-08-09 17:22:46
Java
CyberKing, 2020-08-09 17:22:46

How to fix an error when building a project as an artifact in Intellij Idea?

Hello everyone, an error pops up: "error a jni error has occurred please check your installation and try again". Yes, the project compiles fine. tell me what to do?
5f30062690d68565775198.png
Mistake #1
5f30062bc4997955346745.png
Mistake #2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-08-09
@KiberKing

First you need to run the program in the console and see what's in the stack trace. Most likely the program was compiled for a version of Java that is newer than the one you are trying to run it with.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question