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?
The Apache NetBeans IDE will run under the specified JDK. So to change JDK for NetBeans, to update the netbeans_jdkhome property in the netbeans. conf file which can be found under installation directory > netbeans > etc directory.
Go to Tools* → Java Platforms. There, click on Add Platform and point it to C:\Program Files (x86)\Java\jdk1. 6.0_25 . You can either set the another JDK version or remove existing versions.
The PHP and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 7 or 8 to be installed and run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With