Error: A JNI error has occurred, please check your installation and try again error occurs when using the java command in the DOS interface

 This is caused by the inconsistency between java and javac versions. Manual deletion is not recommended, use the deletion tool that comes with JavaUninstallTool.exe to delete, there is no available official website download, download address: https://www.java.com/zh-CN/download/uninstalltool.jsp

 Run to delete!

Guess you like

Origin blog.csdn.net/qq_56728342/article/details/122513268