I have a NetBeans project which is using the JRE 1.4 environment which means I can\'t use generics.
How can I change the project to use 1.6 (?) so I can use generics
Properties
.In the Library category select Java Platform JDK 1.6
. Source/Binary
Format JDK6
.JDK 1.6
and NetBeans
knows about
this.JDK 1.6
must be known to NetBeans
as a Java Platform.JDK 1.6
is not in the list you can add it there.There is a bug in NetBeans 8.0.2
When undertaking the above steps in changing JRE or JDK for a project, NetBeans attempts to save the project with the new JDK (9 in this instance) but it goes into an infinite loop and eventually gives an OutOfMemoryError:
In Netbeans 8.2,