Change JRE in NetBeans project

前端 未结 3 1410
夕颜
夕颜 2020-12-01 23:50

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

3条回答
  •  旧巷少年郎
    2020-12-02 00:38

    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:

提交回复
热议问题