Changing java platform on which netbeans runs
Solution 1:
You can change the JDK for Netbeans by modifying the config file:
- Open
netbeans.conf
file available underetc
folder inside the NetBeans installation. - Modify the
netbeans_jdkhome
variable to point to new JDK path, and then - Restart your Netbeans.
Solution 2:
In my Windows 7 box I found netbeans.conf in <Drive>:\<Program Files folder>\<NetBeans installation folder>\etc
. Thanks all.