Issue
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.
- Build latest NetBeans from source as described in this link
- Extract and copy org-netbeans-modules-payara-tooling.jar from built zip into /netbeans/enterprise/modules/ folder in NB 12/13 installation location. (The folder is exact in the built zip)
Of course, the other option is to use NB compiled from source.
Answered By - comul
Answer Checked By - Terry (JavaFixing Volunteer)