由于自己重新安装了一下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:图片不知道为啥显示不了...
新闻热点
疑难解答