eclipse中執行程序時報錯'A JNI error has occurred,please check your installation and try again'

問題: eclipse中執行程序時報錯 錯誤代碼: ‘A JNI error has occurred,please check your installation and try again’ 原因: JDK版本變動 導致編譯和運行的JRE環境不一致 措施: 1、在項目右鍵Build Path 移除原來的JRE 重新添加 2、如果實在不行,重新新建相同的項目名,然後複製以前的源碼和資源到該項目中
相關文章
相關標籤/搜索