Well, you've must have overwritten your netbeans.conf and your netbeans_default_options in it.

These needs to be added there:

-J-DTopSecurityManager.disable=true -J-Djava.lang.Runtime.level=FINE


On 1/24/25 12:41, Patrik Karlström wrote:
When testing rc1 through ubuntu snap I am unable to start netbeans with my
existing userdir.
It works well with a clean userdir.

Can I remove something from my existing userdir to make it work?

It shows the splash and then

pata@carbon:~/temp$ netbeans
Detected KDE; use explicit setting for font antialiasing
(-J-Dawt.useSystemAAFontSettings=lcd_hrgb)
WARNING: package com.apple.eio not in java.desktop
java.lang.UnsupportedOperationException: The Security Manager is deprecated
and will be removed in a future release
        at java.base/java.lang.System.setSecurityManager(System.java:429)
        at
org.netbeans.TopSecurityManager.install(TopSecurityManager.java:525)
        at
org.netbeans.core.NbLifecycleManager.advancePolicy(NbLifecycleManager.java:69)
        at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:84)
        at org.netbeans.core.startup.Main.start(Main.java:316)
        at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
        at java.base/java.lang.Thread.run(Thread.java:1575)

/Patrik


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to