I was thinking more along the lines of passing a different jdkhome flag to the netbeans instance being opened, using the same mechanism that allows Netbeans to restart after an update, for example. Then again, I have no idea why the default jdk used seems to always be the latest Oracle JDK installed (on Windows), or the way Netbeans restarts, so if I end up trying to implement this it will take a while. If you or someone else might point me at the module or classes that handle that it'd be helpful.
Thanks, Emilio G. C. ________________________________ From: Geertjan Wielenga <geert...@apache.org> Sent: Wednesday, July 24, 2019 12:34:02 PM To: Emilio G.C. <rarei...@outlook.com> Cc: users@netbeans.apache.org <users@netbeans.apache.org> Subject: Re: Restarting Netbeans, from w/i Netbeans, with different JDK It would mean creating a new panel in the Options window for resetting the JDK value in netbeans.conf. The only reason why it hasn’t been created so far is that changing netbeans.conf by hand is not hard. But if you want to create a PR for this, go ahead and it would be a nice small feature to add as a way to get started providing more complex PRs. Gj On Wed, 24 Jul 2019 at 19:29, Emilio G.C. <rarei...@outlook.com<mailto:rarei...@outlook.com>> wrote: Hello I have been wondering for a while if this feature existed or anyone had ever thought about it. The idea is for someone who has a default JDK that they use Netbeans with to have the option, from within the already running program, to restart it with one of the Java platforms registered. Has anyone ever proposed this feature, or, does it already exist and I am being silly/ignorant? Thank you, Emilio G.C.