Java application shows and error when trying to play sound

I’ve made a response in No sound in java snap I think you’d appreciate. Particularly with your examples above, I’d remove the padsp wrapper since it should be unnecessary when setup like the link, and also the desktop-launch wrapper, since the gnome extension effectively does that itself and doubling up would just introduce delay launching the snap for no benefit.