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

之前用高版本的Eclipse,後來因爲系統原因重裝了,之後裝了幾次JDK,雖然每次都刪除了,但是eclipse老是報錯,最後搜尋各種文章終於解決。 解決方法: 1.右鍵項目——>Build Path 我們可以把JRE System Library 刪除,然後重新 Add Library 點擊藍色處,然後next 點擊第一個,將右邊的子菜單打開,選擇如下(我的是1.8) 最後Finish,便可以運行
相關文章
相關標籤/搜索