The type 'JPEGImageEncoder' is not API (restriction on required library 'D:\jdk-64\jre\lib\rt.jar')
来源:互联网 发布:lg笔记本怎么样知乎 编辑:程序博客网 时间:2024/05/22 07:28
继上个错误之后,重新编译又出现了这个错误。程序总是会不断的给你报各种错误,切记烦躁,只要心态好,办法总比问题多。
上网查了一下这个错误,只需要Project -> Properties -> libraries,
先remove掉JRE System Library,然后再Add Library重新加入。
重新编译即可。
3 0
- The type 'JPEGImageEncoder' is not API (restriction on required library 'D:\jdk-64\jre\lib\rt.jar')
- The type XXX is not API (restriction on required library 'D:\jdk-64\jre\lib\rt.jar')
- Access restriction: The type 'Application' is not API (restriction on required library rt.jar)
- Access restriction: The type 'Resource' is not API (restriction on required library 'G:\JAVA\jdk\lib
- The type handler is not accessible due to restriction on required library rt.jar
- Access restriction: The type 'BASE64Encoder' is not API (restriction on required library 'D:\Java\jd
- Access restriction: The type 'CEFormatException' is not API (restriction on required library 'D:\dev
- Access restriction: The type ‘BASE64Decoder’ is not API (restriction on required library ‘D:\java\jd
- Access restriction: The type OutputFormat is not accessible due to restriction on required library D:/Java/jdk1.6.0_20/jre/lib/r
- restriction on required library 'E: \Java\jdk\jdk_1.7\jre\lib\rt.jar'
- The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.
- The type JPEGImageEncoder is not accessible due to restriction on required library
- 错误:Access restriction: The type 'OperatingSystemMXBean' is not API (restriction on required library
- Access restriction: The type 'Application' is not API (restriction on required library
- Access restriction: The type 'XXX' is not API (restriction on required library 'C:\Progra
- Access restriction: The type XX is not API (restriction on required library 'XXX/Ja
- The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_
- 解决办法:Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required
- UIButton的titleEdgeInsets和imageEdgeInsets属性
- MFC句柄获取方法
- C语言中,头文件和源文件的关系(转)
- centos6 FAQ
- python中的__all__和__slots__
- The type 'JPEGImageEncoder' is not API (restriction on required library 'D:\jdk-64\jre\lib\rt.jar')
- Eclipse提交SVN时,要忽略的文件和文件夹列表
- linux aapt出现/lib/libz.so.1: no version information available解决方案
- struts2取得request,session,appilcation的方法
- 设备管理软件、企业设备管理系统、设备维修的管理
- 创建 Robotium 测试工程
- Lex与Yacc学习(七)之环境配置另一种方式
- 【重要】融资融券
- java HashMap遍历的三种方式以及效率对比