Thanks.

But what configuration file needs to be changed and where is the configuration file located in Windows? I've looked at Netbeans-24 and there are 17 config directories?

art

On 3/24/2025 4:40 AM, Pieter van den Hombergh wrote:
Java 24 has the security manager permanently disabled. Netbeans 25 has adapted it's default setting accordingly, so it can deal with this change in java without issue. For netbeans 24+java 24 you need to change a setting in the netbeans configuration.
For java 24 development I would stick to netbeans 25.


met vriendelijke groet
Pieter van den Hombergh

Op ma 24 mrt 2025, 06:45 schreef slipbits <slipb...@slipbits.com>:

    Win10

    I just built a new computer and installed NB 25 and then NB 24.
    The installation files were downloaded from Netbeans.org.

    I attempted to start NB with the desktop Icon and then by direct
    execution of netbeans.exe and netbeans64.exe.  This is the only
    time this has happened. it has worked on all my other computers
    through the years. Is there some hardware issue involved? My chip
    is an AMD 7950X and my system is on a 4TB M.2 2280 SSD.

    The following error messages were seen when I attempted to start
    NB from a cygwin shell. I do notice some missing libraries. I
    assume that the security error is the one causing the failure (
    and I thought that this was deprecated?).

    > ./NetBeans-24/netbeans/bin/netbeans.exe
    WARNING: package com.apple.eio not in java.desktop
    WARNING: package com.apple.laf not in java.desktop
    WARNING: package sun.awt.X11 not in java.desktop
    WARNING: package com.sun.java.swing.plaf.gtk 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/System.java:1947)

    > ./NetBeans-24/netbeans/bin/netbeans64.exe
    WARNING: package com.apple.eio not in java.desktop
    WARNING: package com.apple.laf not in java.desktop
    WARNING: package sun.awt.X11 not in java.desktop
    WARNING: package com.sun.java.swing.plaf.gtk 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/System.java:1947)

Reply via email to