By way of confirmation for the "happy" path, I use NetBeans via the 
snap, but without an altered configuration. My upgrade from NB24 to 
NB25-rc1 this morning was seamless; it launched just fine.

Gregory

On 25/01/2025 07:16, Patrik Karlström wrote:
> Thanks Laszlo,
> I can confirm that I had my custom netbeans.conf with --fontsize prepended
> to the default options.
> Problem solved by copying the conf from rc1 and adding fontsize once more.
>
> I am really spoiled with how stable NetBeans is.
> I have been using the same user and cache dirs for years and years. That
> goes for rc userdirs as well, I just rename them in order to continue to
> use them...
>
> Before using snaps I used to share them while multi booting too. :)
>
> ...and when I do notice a problem I usually test with a clean userdir just
> to rule that out.
>
> /Patrik
>
> Den fre 24 jan. 2025 kl 21:47 skrev Laszlo Kishalmi <
> laszlo.kisha...@gmail.com>:
>
>> 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