Re: Compiler telling me I have 1.4 JDK when i have 1.5 wont compile generics code



Mitch wrote:
Ok I have found that J2EE is at 1.4. There is a J2EE 5 release that I
will try.

Is there any way I can seperate these items? I.E. Have the program
run as it would under 1.5 but only have the servlet abide by the 1.4
restrictions, because the servlet will only be serving xml and doesn't
need advanced features?

I have to assume now you are mistaking, since it's the second post.
You problem is not J2EE, it's J2SE, which is probably installed correctly on your machine. Besides, J2EE 5 is still in beta. Stay with 1.4, there is no need for you to go to 5

Concerning the settings, there must be in NetBeans something in the settings related to the java compiler and the source level, or JDK compliance, or something like that.
.