On 10/6/22 8:16 PM, Michael Bien wrote:
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 <[email protected]> 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.
I very much do. I had to ponder keeping it 1.8 compatible. Before
apache, the plugin was compatible with 7.0-8.2 (lots of hoops in the
code checking module versions) I'm not sure of the number, but from the
download stats, there likely over a thousand users of the plugin (it
would be interesting to know).
I'd require the plugin portal be compatible with the min requirements;
but that's another topic as it looks the portal is abandoned anyway.
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists