Porting a java application that uses MIDI resources to snappy

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Thu May 12 23:18:29 UTC 2016

On Thu, May 12, 2016 at 6:14 AM, Donald Gray
<donald.g.gray at btinternet.com> wrote:
> Hi,
> I have ported my java music making application, audovia, to a snap but when
> I try to play back music I get the following message.
> Exception - The MIDI System cannot instantiate a sequencer. ... Find
> resources for using MIDI on your specific system. The exception message from
> MidiSystem.getSequencer() is: Can not open line
> The application does not use any special sound cards or drivers and it runs
> perfectly well outside the snap.

Can you please open a bug on snappy (on launchpad), attach your syslog
there, if you can attach a snapcraft.yaml file (though this is not

Does the snap work when installed with --devmode?

> It looks like a snap.yaml plug is required to allow the snap to access the
> sound resources on the laptop.

Yes, but appropriate midi plug doesn't exist yet. I have a pulseaudio
plug that should be merged soon but that might not cover midi yet (I
honestly don't know).

Best regards

More information about the snappy-devel mailing list