This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271839

Summary: Allow selection of default Java platform within IDE
Product: ide Reporter: ptoye <ptoye>
Component: UIAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ptoye 2017-11-22 10:27:08 UTC
I suggest you make it easier to change the default Java platform, given the rate of Java updates. It's a bit of a pain to have to edit the config file or the command line string each time.

Two possibilities:

1) On the main Java platform window, add a button which makes the selected platform the default.

2) On the window when adding a new JDK, add a button which makes the new one the default.

Possibly even better would be to add a further checkbox to make the default global or just for this user.

Note: in Windows you probably have to get admin privileges to do this, as the location of the config file is protected. I can't speak for other OSs.