Java EE 8 is not specifically tied to JDK 8. The only reason why that is a barrier right now is because of the container support. If a container vendor, such as Payara, compiles and makes Java EE 8 libraries available under a newer JDK then it should work. Therefore, Payara 5.192 supports JDK 11, so we should be able to run Apache NetBeans on JDK 11 and compile/deploy Java EE 8 applications (via JDK 11) to this container. I believe other containers are also planning to support JDK 11.
Please see the blog post from Arjan for more details on Payara JDK 11 support: https://blog.payara.fish/whats-new-in-payara-platform-192 Thanks Josh Juneau juneau...@gmail.com http://jj-blogger.blogspot.com https://www.apress.com/us/search?query=Juneau <https://www.apress.com/index.php/author/author/view/id/1866> On Thu, Jul 11, 2019 at 6:52 AM Geertjan Wielenga <geert...@apache.org> wrote: > Yes, this is something I'm not clear about -- isn't Java EE 8 tied to JDK > 8? Correct me if I'm wrong. Should GlassFish and Payara run with anything > other than JDK 8? > > Gj > > On Thu, Jul 11, 2019 at 1:39 PM Josh Juneau <juneau...@gmail.com> wrote: > > > Glad to hear that JDK 11 seems to be working well with Apache NetBeans > > 11.1. I haven't yet tested the Payara 5.192 JDK 11 support...but I > believe > > initial support is now there. I will try to find some time to test this > > out within NetBeans and provide feedback. > > > > Josh Juneau > > juneau...@gmail.com > > http://jj-blogger.blogspot.com > > https://www.apress.com/us/search?query=Juneau > > <https://www.apress.com/index.php/author/author/view/id/1866> > > > > > > > > On Thu, Jul 11, 2019 at 5:13 AM Geertjan Wielenga <geert...@apache.org> > > wrote: > > > > > 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 > > > >> > > > > > > > > > >