記錄一下解決JRE System Library(nobound)的問題
阿新 • • 發佈:2018-12-04
由於自己重新安裝了一下jdk,導致原先的JRE System Library 無法找到,後來在stack overflow上面找到了對應的解決辦法,記錄下來,給自己看,也給大家看看.
點選專案的屬性(Properties),然後點選Java Build Path,選擇Libraries,如果找不到JRE System Library的話,會有提示nobound的,接下來的解決辦法是
Go to project then
Right click on project---> Build Path-->Configure build path
Now there are 4 tabs Source, Projects, Libraries, Order and Export
Go to
Libraries tab --> Click on Add Library (shown at the right side) --> select JRE System Library --> Next-->click Alternate JRE --> select Installed JRE--> Finish --> Apply--> OK.
然後會有預設安裝的jre,再點選finish,然後點選apply問題就解決了.
ps:圖片不知道為啥顯示不了...