Re: "generics are not supported" error
- From: Alexander Schoelling <aschoelling@xxxxxxxx>
- Date: Mon, 18 Dec 2006 21:20:58 +0100
Damo:
generics are not supported in 1.4
This is the line causing the error.
LinkedList<Result> resultList = new LinkedList<Result>();
I'm using netbeans 5.5 and the jdk version is 1.5, so i dont know
where the error is coming from.
Hi Damo,
the most probable reason is that the project is configured to compile
for Java 1.4. The setting can be changed from the project properties
dialog (Check the bottom of the source part, there is a drop-down list
labeled "Source Level" where you must select at least 1.5).
Yours,
Alexander
.
- References:
- "generics are not supported" error
- From: Damo
- "generics are not supported" error
- Prev by Date: Re: "generics are not supported" error
- Next by Date: Re: JWS 1.6 problem with signed .zip files?
- Previous by thread: Re: "generics are not supported" error
- Next by thread: alias
- Index(es):
Relevant Pages
|