I haven't followed the whole thread here, but couldn't NetBeans auto-disable nb-javac if needed?
If nb-javac is only supposed to work for Java 8 runtimes then perhaps NetBeans should just use it as a fallback? Although, my impression is that some features are not implemented and nb-javac is more or less mandatory for the full Java editing experience. --emi On Tue, Feb 25, 2020 at 4:41 PM Geertjan Wielenga <geert...@apache.org> wrote: > > Definitely try 11.3. > > And possibly nb-javac is disabled, though still installed. > > Gj > > On Tue, Feb 25, 2020 at 3:39 PM Hans Grimmelshausen HG <far...@mail.de> wrote: >> >> Hello Geertjan and other readers, >> >> Your observation makes sense, but the strange thing is that I did uninstall >> nb-javac via NB's menu Tools->Plugins. So it's shown under "Available >> Plugins". >> Also I can successfully refactore-rename methods etc in my mid-sized >> project, which hasn't been working with an installed nb-javac. Like Thomas >> suggested, disabling nb-javac wasn't enough, it had to be un-installed. >> >> I even tried with a fresh NB profile, but the null pointer exceptions keep >> up coming. >> This is all very strange to me. Since indeed the nb-javac mention is in the >> stacktrace. >> Maybe I should try NB 11.3 ? >> >> Thanks. >> >> Greetings, >> Hans >> >> >> >> Am 25.02.20 um 11:52 schrieb Geertjan Wielenga: >> >> Since this is in the stacktrace, nb-javac must still be present, i.e., has >> not been uninstalled: >> >> at >> org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:66) >> >> Gj >> >> On Tue, Feb 25, 2020 at 11:48 AM Neil C Smith <neilcsm...@apache.org> wrote: >>> >>> On Tue, 25 Feb 2020 at 10:35, Hans Grimmelshausen (HG) <far...@mail.de> >>> wrote: >>> > Geertjan wrote at >>> > one point that the nb-javac plugin was mainly useful for JDK 8 projects. >>> >>> Mainly useful for running NetBeans itself on JDK 8 as far as I know. >>> And for supporting versions of JDK above what the IDE is running on. >>> >>> Maybe it's time to take the plunge and stop supporting NetBeans on JDK >>> 8 from 12.1?! >>> >>> Best wishes, >>> >>> Neil >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists