I feel this question comes up at least once per month
NetBeans 13 already doesn't require nb-javac if you run on JDK 17, its
only remaining purpose is to allow users to run NetBeans on older JDKs.
The javac included as plugin in NB 13 is a pure language-level backport
of the javac included in JDK 17.
NetBeans 14 will require javac 18 (not 17!) in the classpath, it doesn't
care where it comes from.
if the community would decide to require NB N to run on JDK N+4 on
release, there would be indeed no need for nb-javac. But that would be
too easy :)
-mbien
On 10.04.22 17:42, Eric Bresie wrote:
Late to the discussion...
So the nb-javac included in more recent NB builds would no longer be
required when using JDK 17 and beyond then but nb-javac would still be
needed in running prior to JDK 17?
Eric Bresie
[email protected]
On Tue, Mar 29, 2022 at 12:12 AM Jaroslav Tulach <[email protected]>
wrote:
Dear Arvind,
Thank you for your and Oracle work to integrate nb-javac features into
javac!
Yes, it is great to see all the features essential for editing Java in an
IDE
are already part of OpenJDK 17 javac compiler!
the migration effort to the JDK javac has been completed!
If anyone observes a bug while editing Java in the Apache NetBeans IDE, go
to
https://github.com/openjdk/jdk and fix it there - that's where the javac
(formerly nb-javac) code lives!
Also you or @Jaroslav can mention, that nb-javac is still alive as a
generated library from the Java 17+ Javac which is compatible with Java
8 runtime.
The build scripts are available at
https://github.com/JaroslavTulach/nb-javac/
- however the Java code comes from https://github.com/openjdk/jdk - the
build
script checks the official OpenJDK repository out and just packages the
sources
into binaries suitable for NetBeans purposes.
-jt
On 3/28/22 10:56, Arvind Aprameya wrote:
Hi All,
Since the contribution of the NetBeans IDE to Apache, Oracle had been
the
primary maintainer of the nb-javac patched code and distributed the
nb-javac plugin and source to be used in the NetBeans IDE. We
appreciate
the NetBeans Apache community members who contributed to the nb-javac
plugin over the years. The most recent plugin code was published in
Oct
2021 [1]. While we ensured the plugin availability for every new JDK
release, we also worked towards enabling NetBeans to directly use the
JDK
javac compiler. We are happy to announce that the migration effort to
the JDK javac has been completed! NetBeans version 13 release can use
the javac implementation in OpenJDK 17 for editing code on any language
level supported by the OpenJDK 17 javac compiler. As this migration is
completed, we will stop distributing the code and the nb-javac plugin
going forward. Once again, we would like to thank the NetBeans Apache
community for their collaboration.
[1] https://github.com/oracle/nb-javac
regards,
Arvind
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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