You're also told in the error message about the option to set to override that message.
It's not needed anymore, that blocker, but it can be overridden via that command line option. Gj On Wed, Jul 17, 2019 at 4:33 PM Glenn Holmer <ce...@kolabnow.com.invalid> wrote: > NetBeans 11.1 is supposed to build under JDK11, isn't it? I downloaded > the vc2 source and typed "ant" in the root directory, but got "You are > attempting to build NetBeans using JDK 9 (or higher). This is forbidden > as it may lead to accidental usage of JDK 9+ APIs." > > What am I doing wrong? I'm using OpenJDK 11.0.2 on Linux. > > -- > Glenn Holmer (Linux registered user #16682) > "After the vintage season came the aftermath -- and Cenbe." > > > --------------------------------------------------------------------- > 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 > >