I am using Blackberry plug in for eclipse.
Default jre setting is 1.6
I am getting following error which doesnt allow me to compile my .java file :
The type Class is not generic; it cannot be parameterized with arguments
Classes for J2ME projects must be compiled to be version 1.3 compliant.
=> no generics, enums, extended-for .....
But it should fix your problem :)