You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Jack W." <so...@gmail.com> on 2025/03/23 18:53:52 UTC

NB 25 Deploy to localhost

I created a project and chose Run As Local website with
http://localhost/<projectdir>
for the project URL. However, I don't see any option to Deploy to that
target directory. What did I forget to do, please?

-- 
Jack Woehr               # If it doesn't work in Firefox,
Box 82, Beulah CO 81023  # it's broken.
http://www.softwoehr.com # Just Say No to Chrome.

Re: Can not start NB 24/25

Posted by slipbits <sl...@slipbits.com>.
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 <sl...@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)
>

Re: Can not start NB 24/25

Posted by Pieter van den Hombergh <pi...@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 <sl...@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)
>
>

Can not start NB 24/25

Posted by slipbits <sl...@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)