On 06.10.22 19:55, Ernie Rael wrote:
On 10/6/22 10:41 AM, Neil C Smith wrote:
On Thu, 6 Oct 2022 at 18:02, Ernie Rael <err...@raelity.com> wrote:
Is the claim that using older JDK for runtime rarely happens? I don't
have any data, but...; NetBeans is a case in point, and I know of
others; it can be a corporate (ie irrational:-) ) decision.
Well, relying on a global JDK to run NetBeans is possibly irrational
to start with, considering other options bundle a runtime. There are
obviously older JDK use cases, but I'm just not sure NetBeans itself
is the best example.
Oops, right you are. What you run NB on is a personal decision. I was
thinking of NB/plugin developers who are constrained to source level
== 11 (unless you're using frgaal)
plugin devs are not really constrained here, only if they want to mirror
the minimum requirements of NetBeans itself. A NetBeans release is
tested on 11, 17 and "current at time of release". 11 is just the
minimum JDK at the moment. I very much encourage everyone to use a
recent JDK for your NB since why would you not use latest optimizations
of up2date runtimes for development if you have that option?
A plugin which benefits from a newer JDK can simply define that in the
manifest and it won't install on NB running on older JDKs. It can use
language features, JDK apis and also third party libs on the same
language level (beyond 11).
(i have a little xpath plugin which required JDK 11 even before this was
the minimum requirement for NB, I only forgot to put that into the
manifest - none of the 5 users noticed ;))
btw there are community installers which bundle latest NB with up to
date JDKs. Linked from the download page. I think all of them are
currently maintained by members of the NB PMC.
best regards,
michael
---------------------------------------------------------------------
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