On Fri, 17 Feb 2023 at 08:42, Svata Dedic <svatopluk.de...@gmail.com> wrote:
> Q1: is there a strong opinion AGAINST using commandline parameter - and
> to use rather a system property (or other technique) ? Please elaborate.

Definitely in favour of the command line parameter.  But, does it
absolutely need launcher changes to achieve it?  Not achievable by
parsing the command line argument in MainImpl like you're doing with
the system property?

A mirroring subtractive cluster parameter might be useful?

> Q4: are there other pending issues that could be addressed in the new
> launcher release ? I've searched GH issues and didn't found much.

I have a few things on my to-do list around jdkhome that might be
worth considering in an update.

- the IDE launchers should support relative setting of jdkhome in the
same way as the platform launchers.  We have to work around this in
NBPackage, which complicates slightly the bundled JDK scenario we use
in the community installers.

- jdkhome parsing should not break if the path ends with a slash.  eg.
it's possible to configure a Windows shortcut with --jdkhome
%JAVA_HOME%, except that it's usually set with an end \ so doesn't
work.

- the Windows launchers used to be able to locate a JDK when jdkhome
isn't set IIRC, which the others can.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to