On 27.10.22 12:05, Neil C Smith wrote:
On Thu, 27 Oct 2022 at 08:43, Anton V. Kirilchik <kosmonaf...@gmail.com> wrote:
Is it possible, to do it like in Idea, which runs on jdk distributed with,
and each project in idea can be built and run on diferrent JDK?
Yes, this is exactly what the community installers do -
https://netbeans.apache.org/download/nb15/index.html#_community_installers
Use Tools / Java Platforms in the IDE to register or download
alternative JDKs for projects.
Unfortunately bundling a JDK is not possible directly from Apache for
various reasons, including licensing of parts of the JDK being GPL
(without classpath exception).
NetBeans could however bootstrap itself. Even if an installer missed to
put the right JDK into the path, NB could download the exact JDK it
needs and use it as runtime, even when started from the zip.
As demonstrated in this short video:
https://www.youtube.com/watch?v=8uEIqAd2JBk
(if the installer did everything right, nothing would happen since the
requirements are met)
Installers, which don't bundle a JDK could hook into the same mechanism
and trigger it as last step of the installation instead of during first
startup.
best regards,
michael
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
---------------------------------------------------------------------
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