I get it.
I was just assuming that this would not be possible ever.
Perhaps I'll look at invoking xdg-open if browse() fails.

Java claims it's unavailable on the current platform when run within the snap.
--
Matt

On Tue, Jul 26, 2016 at 9:50 AM, Didier Roche <[email protected]> wrote:
Le 26/07/2016 15:15, Matthew Aguirre a écrit :
 Is there a way that this will work with Java too?
 Using the:
 Desktop.getDesktop().browse(uri);

I figured it was a containment thing, but if there is an xdg-open for
 some apps, will this extend to Java somehow?

I guess that depends on what .browser for getDesktop() is using
internally to bind with the system. If you can identify the tool if not
xdg-open, we can certainly have a look (I'm not a Java expert)

Cheers,
Didier
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to