You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating Java Maven Web application project in nb30 on snap version. Ubuntu 26.04 env.
Selecting webserver Payara - dialog indicates that it can't find java se. The dropdown for Java Platform doesn't show any content, when you attempt to add jdk which is present or select another one it does not select and alternatives are not loaded in dropdown.
This is not a Payara issue as I attempted WildFly and Glassfish and the same error occurred so something is wrong with mapping in ide.
Also jsf option in frameworks defaults to 2.3 and can't be changed!!
Language / Project Type / NetBeans Component
Java Maven Web App
How to reproduce
Create new Maven Java Web Application.
Right Click on created project and enter Settings menu
Set Framework to Java Server Faces
close settings.
Launch Project
Dialog wil appear displaying message for Java SE Platform selection.
Did this work correctly in an earlier version?
Apache NetBeans 29
Operating System
Ubuntu 26.04 - tested on lenovo x1 carbon and thinkcentre pc
I looked into the GlassFish part of this. There's a concrete bug behind the empty Java SE dropdown.
Root cause: NetBeans 30 bundles JDK 26. When JDK 26 support was added (commit a0d24844f), only the v26 constant was added to JavaSEPlatform.java — the matching <platform version="26"/> entry was never added to the GlassFish server config XMLs. So JavaUtils.findSupportedPlatforms() intersects the installed JDKs with the server's supported set ({21..25}), gets an empty result when JDK 26 is the only registered platform, and JavaSEPlatformPanel shows the platform selector with an empty dropdown and only a Cancel button. (The earlier "add JDK 24" change, 1e42bf815, correctly updated both the enum andGlassFishV8_0_0.xml; the JDK 25 and 26 changes updated only the enum.)
Fix:#9445 adds <platform version="26"/> to the two current-gen configs that already declare JDK 25 — GlassFishV8_0_0.xml and GlassFishV7_1_0.xml.
Workaround until that merges: register a JDK 17–25 under Tools → Java Platforms; the dropdown then populates and the server starts.
A couple of notes on the rest of the report:
The WildFly symptom is almost certainly a different problem — WildFly doesn't share this GlassFish/Payara code path, so a JDK 26 environment can hit the more generic "no Java platform registered" case (common on Snap installs).
The Payara configs look considerably more stale (e.g. PayaraV7.xml lists only <platform version="21"/>), so Payara likely needs its own, larger config update.
this issue appears to report two distinct observations
Selecting webserver Payara - dialog indicates that it can't find java se.
This is not a Payara issue as I attempted WildFly and Glassfish and the same error occurred so something is wrong with mapping in ide.
unfortunately the Payara download links don't work for me atm, but i tried with GlassFish and NB 30 (possible payara duplicate #8555):
I ran the maven -> web application wizard using glassfish 8.0.3 and it did create the project successfully. Once created, I changed the JDK in the settings to JDK 25 (since it is the upper bound what glassfish currently supports), pressed play and saw "hello world" in the browser.
Also jsf option in frameworks defaults to 2.3 and can't be changed!!
now this might be a distinct issue you seem to have already reported #8855 ?
Similar problem here using NetBeans 30 / OpenJDK 64-Bit Server VM Temurin-25.0.3+9 / Linux Mint 22.3 Zena.
If I try to add a new Glassfish 7.x or 8.x I can select every JDK from 21 to 25.
If I try to add a new Payara 7.2026.4 or 7.2026.6 I can select only JDK 21 (from the Java Platform selector all JDKs greater than 21 are excluded).
I'm not sure if this issue is related to the server vendor/version or the plugin.
From NetBeans 30 at today I cannot run Payara 7.2026.4 or 7.2026.6 selecting JDK 25 platform...
Activity
patricioluvande-ai commentedon Jun 2, 2026
Este sistema está funcionando perfeitamente.
renatsaf commentedon Jun 16, 2026
I looked into the GlassFish part of this. There's a concrete bug behind the empty Java SE dropdown.
Root cause: NetBeans 30 bundles JDK 26. When JDK 26 support was added (commit
a0d24844f), only thev26constant was added toJavaSEPlatform.java— the matching<platform version="26"/>entry was never added to the GlassFish server config XMLs. SoJavaUtils.findSupportedPlatforms()intersects the installed JDKs with the server's supported set ({21..25}), gets an empty result when JDK 26 is the only registered platform, andJavaSEPlatformPanelshows the platform selector with an empty dropdown and only a Cancel button. (The earlier "add JDK 24" change,1e42bf815, correctly updated both the enum andGlassFishV8_0_0.xml; the JDK 25 and 26 changes updated only the enum.)Fix: #9445 adds
<platform version="26"/>to the two current-gen configs that already declare JDK 25 —GlassFishV8_0_0.xmlandGlassFishV7_1_0.xml.Workaround until that merges: register a JDK 17–25 under Tools → Java Platforms; the dropdown then populates and the server starts.
A couple of notes on the rest of the report:
PayaraV7.xmllists only<platform version="21"/>), so Payara likely needs its own, larger config update.Add Java SE 26 and 27 platforms to GlassFish 7.1 and 8.0 server configs
[-]IDE can't find jre for Web Server[/-][+]IDE can't find jre for Web Server (Payara)[/+]Fix empty platform dialog when no compatible JDK is installed (apache…
[-]IDE can't find jre for Web Server (Payara)[/-][+]IDE can't find jre for Web Server[/+]mbien commentedon Jun 20, 2026
this issue appears to report two distinct observations
unfortunately the Payara download links don't work for me atm, but i tried with GlassFish and NB 30 (possible payara duplicate #8555):
I ran the maven -> web application wizard using glassfish 8.0.3 and it did create the project successfully. Once created, I changed the JDK in the settings to JDK 25 (since it is the upper bound what glassfish currently supports), pressed play and saw "hello world" in the browser.
now this might be a distinct issue you seem to have already reported #8855 ?
giates commentedon Jul 10, 2026
Similar problem here using NetBeans 30 / OpenJDK 64-Bit Server VM Temurin-25.0.3+9 / Linux Mint 22.3 Zena.
If I try to add a new Glassfish 7.x or 8.x I can select every JDK from 21 to 25.
If I try to add a new Payara 7.2026.4 or 7.2026.6 I can select only JDK 21 (from the Java Platform selector all JDKs greater than 21 are excluded).
I'm not sure if this issue is related to the server vendor/version or the plugin.
From NetBeans 30 at today I cannot run Payara 7.2026.4 or 7.2026.6 selecting JDK 25 platform...
Fix empty platform dialog when no compatible JDK is installed (apache…
mbien commentedon Jul 14, 2026
renaming this issue to be payara specific, since upcoming NB31 got updated to show a bit more information for glassfish when the jdk is out of range.
[-]IDE can't find jre for Web Server[/-][+]Payara: IDE can't find jre for Web Server[/+]