Incompatible with JDK 24

Description:

The netbeans package depends on Java >=11, but appears to be incompatible with the latest jdk-openjdk 24.u36 as running it only gives:

$ netbeans
WARNING: package com.apple.eio not in java.desktop
WARNING: package com.sun.java.swing.plaf.windows not in java.desktop
WARNING: package com.apple.laf not in java.desktop
Error occurred during initialization of VM
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
	at java.lang.System.initPhase3(java.base@24.0.1/System.java:1947)

(returned 1)
$

It works with the older jdk21-openjdk (and did work with version 23), but it seems that the "Security Manager" feature was removed in JDK 24.

I've read that netbeans 25 is supposed to fix the incompatibility.

Additional info:

Yes, there are in fact people still using netbeans in 2025.