Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent. *Product Version:* Apache NetBeans IDE 11.1
*Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb) Gj On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga <geert...@apache.org> wrote: > Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using > for running Ant. Now everything is going well. > > Gj > > On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga <geert...@apache.org> > wrote: > >> Hi all, >> >> I'm especially interested in getting us to a point where we can build on >> the latest Java LTS release. >> >> So I tried to run ant like this (on Mac OSX): >> >> ant >> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home >> -Dpermit.jdk9.builds=true >> >> Quite quickly this results in the following: >> >> compile: >> [nb-javac] Compiling 45 source files to >> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-source/platform/openide.util/build/classes >> [repeat] warning: [options] bootstrap class path not set in >> conjunction with -source 6 >> [repeat] error: Source option 6 is no longer supported. Use 7 or later. >> [repeat] error: Target option 6 is no longer supported. Use 7 or later. >> [nbmerge] Failed to build target: all-openide.util >> >> BUILD FAILED >> >> Does anyone have ideas? >> >> Thanks, >> >> Gj >> >