javanetbeanspayaranetbeans-12openjdk-17

Payara Server does not work with Netbeans 12.6 and JDK 17


We are migrating web apps that use java 1.7 here at the company. We then chose to use the latest stable version of JDK 17 and Payara server (we already use Glassfish), however when linking the server on NetBeans the Java 17 LTS platform does not appear to be selected in the server properties. Has anyone ever experienced this?


Solution

  • I have the same issue with NB 12.6 and I was expecting NB team to fix this with NB 13. But unfortunately, the issue still exists on 13. Seems related changes in this PR didn't go NB 13 distribution.

    After digging for a while found a workaround.

    Of course, the other option is to use NB compiled from source.