Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 665
Elvis Fabiane Avatar asked Nov 15 '25 10:11

Elvis Fabiane


1 Answers

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.

like image 63
comul Avatar answered Nov 18 '25 00:11

comul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!