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

Answered

This occurs after I extract the file, “sudo tar -xzf /home/johnny/Downloads/ideaIU-2023.2.1.tar.gz” while in /opt/IntelliJ and then running “./idea.sh” from the /bin subdirectory.

It starts out with an OpenJDK Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = “com.intellij.util.lang.PathClassLoader”)."

What should I do to correct this error and get IntelliJ installed?

0
1 comment
Hi,

Can you please share the full output from the Terminal when you run the `./idea.sh`? I haven't seen any "JNI error" from your description.

>  OpenJDK Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = “com.intellij.util.lang.PathClassLoader”)."

This is just a warning and should not affect starting the IDEA.
0

Please sign in to leave a comment.