Hi Patrick, Disclaimer: Not a snap pro.
from my understanding that's the point behind a snap is to bundle all it's dependencies and separate it from the rest of the system. So combining sdkman and NetBeans snap doesn't seem the right way for me.
When it works from command line vs via Desktop icon - for me that's an indicator that the environment is somehow different. Maybe you don't execute the snap from command line? `which netbeans` should bring a little bit more light into that.
Personally I don't see that much benefit from using NetBeans snap version. It adds a layer of complexity without providing much of benefit.
--- Thanks Benjamin On 2020-04-25 09:24, Patrik Karlström wrote:
After a fresh install of Kubuntu I decided to use only sdkman for managingjava on my system.Doing so rendered the NetBeans snap unstartable from the gui icon, with noerror message what so ever. It did start nicely from the terminal though. My solution to this was to create and edit a netbeans.conf setting the netbeans_jdkhome option. Being a snap, this step is not really obvious,and the lack of an error message in combination with the fact that it doeswork from a terminal might be a bit confusing.Would it be possible to let the netbeans.desktop pick up the environment asif netbeans was started from a terminal? /Patrik
0xDBDA3F83.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
