今天在Eclipse中遇到下面的錯誤:
Access restriction: The type JPEGCodec is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar
解決方法:
點選Eclipse的Project Name->Build Path ->Configure Build Path->Library
先remove JRE System Library[jre6],再按Add Library加入JRE System Library
|