GlassFish 5+ is not currently supported under JDK 9+...that is in the works. I believe the target JDK is for Java SE 11 support.
See this issue in the tracker: https://github.com/eclipse-ee4j/glassfish/issues/22130 Therefore, GlassFish 5 requires JDK 8. On Tue, Feb 26, 2019 at 7:59 AM Geertjan Wielenga <geertjan.wiele...@googlemail.com.invalid> wrote: > So, not specifically JDK 8, but greater than JDK 8, too? I.e., the modular > JDK, from JDK 9 onwards, is supported by GlassFish? > > And what does GlassFish need the JDK for? > > Gj > > On Tue, Feb 26, 2019 at 2:57 PM Josh Juneau <juneau...@gmail.com> wrote: > > > Hi Geertjan, > > > > Java EE 8 requires JDK8+, and therefore GlassFish 5/5.1 require JDK 8+. > > > > Hope this helps. Thanks > > > > On Tue, Feb 26, 2019 at 7:52 AM Geertjan Wielenga > > <geertjan.wiele...@googlemail.com.invalid> wrote: > > > > > Hi all, > > > > > > There's quite some functionality in NetBeans related to Java/Jakarta EE > > > that assumes that the project is making use of JDK 8. > > > > > > In particular, this results in these problems: > > > > > > https://issues.apache.org/jira/browse/NETBEANS-2170 > > > https://issues.apache.org/jira/browse/NETBEANS-2126 > > > > > > So, the question is, which if any specific version of the JDK does the > > > latest GlassFish releases require? > > > > > > If GlassFish requires JDK 8, then NetBeans is right and users should > > simply > > > be told to use JDK 8 with GlassFish. If not, then we need to change > > > something in NetBeans to enable GlassFish to work with later JDKs. > > > > > > I'm assuming some tools or files in the JDK are needed by GlassFish or, > > at > > > least, are needed by GlassFish when run with/from NetBeans. > > > > > > Thanks, > > > > > > Gj > > > > > -- > > Josh Juneau > > juneau...@gmail.com > > http://jj-blogger.blogspot.com > > https://www.apress.com/index.php/author/author/view/id/1866 > > > -- Josh Juneau juneau...@gmail.com http://jj-blogger.blogspot.com https://www.apress.com/index.php/author/author/view/id/1866