Re: Can not start NB 24/25

Pieter van den Hombergh <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CAG39r4ZQLvKKT4CCXE6Vec6uEyLUAYPaETq30RY_R6y9EbTw7A@mail.gmail.com>
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 <[email protected]>:

> 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)
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.