当前位置: 代码迷 >> Eclipse >> 设置了jdk1.5以上泛型还报错解决思路
  详细解决方案

设置了jdk1.5以上泛型还报错解决思路

热度:12   发布时间:2016-04-23 00:56:00.0
设置了jdk1.5以上泛型还报错
Syntax error, parameterized types are only available if source level is 1.5 or greater
------解决方案--------------------
Eclipse->Windows->Preferences->Java->Installed JREs
------解决方案--------------------
右键你的工程--》 Properties-->java compiler  jdk compliance