Re: "generics are not supported" error



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
.



Relevant Pages

  • Re: How to protect VB script in Db
    ... then project properties it has 2 tabs and the 2nd tab has an option to ... dont want to click and lock somthing if i dont know anything about it. ... the db was not an MDA file it was a self contained mdb file. ...
    (microsoft.public.access.modulesdaovba)
  • Re: common assemblies
    ... I dont use VS.Net. ... I use Web Matrix. ... is there anyway to install an assembly so that I dont have to ... > Project Properties ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Solving std::exception
    ... "Acces violation - no RTTI data!" ... you dont have RTTI support for your project. ... setting in project properties dialog. ...
    (microsoft.public.vc.mfc)