您的位置:首页 > 大数据 > 人工智能

Syntax error, parameterized types are only available if source level is 1.5

2015-11-27 11:40 946 查看


问题: Syntax error, parameterized types are only available if source level is 1.5 


    change project compliance and jre to 1.5 

编译级别问题

1.在eclipse中菜单Window----preferences----java-----compiler把右边中的Compiler
compliance level改为1.6





 
2.就右击项目,修改properties,找到java
compiler修改compiler compliance level为1.6





来源于:http://blog.sina.com.cn/s/blog_6ae3d9ad0101293o.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  JAVA eclipse jdk