Java - Iterator: "Syntax error, parameterized types are only available if source level is 5.0"
Posted
by Helpme
on Stack Overflow
See other posts from Stack Overflow
or by Helpme
Published on 2010-06-06T19:10:10Z
Indexed on
2010/06/06
19:12 UTC
Read the original article
Hit count: 281
Hi!
I'm purposely targeting Java OS 1.4.2
I'm trying to use an iterator combined with apache's POI to read an excel spreadsheet.
The code runs perfectly in java 1.5, but in the 1.4.2 version I get the error listed in the question subject.
the code is:
Iterator myIter = null;
it breaks on that line of code, which is clearly at the beginning of the application. I dont understand what needs to be done to correct this issue. Please let me know if you have any insight!
© Stack Overflow or respective owner