need help with freedomotic snappy app

Steve Langasek steve.langasek at canonical.com
Sat May 2 12:37:26 UTC 2015


Hi Mauro,

On Tue, Apr 28, 2015 at 03:58:27AM -0500, mauro at freedomotic.com wrote:

> thanks for your reply. Is it possible to bundle Oracle JRE in our snap and
> distribute it or are there Licence issues?

I can't advise you on the license terms for Oracle JRE, you would need to
look at this yourself to determine if the license is compatible with your
use.  I can say that openjdk's license is compatible with this use, and is
worth a look if Oracle JRE doesn't work out since the performance should be
comparable for many uses.


On Mon, Apr 27, 2015 at 03:13:11AM -0500, mauro at freedomotic.com wrote:
> Hi Steve
> thanks for your reply.
> 1. I installed oracle java (not openjdk for better performance) manually
> downloading the package from the official site because there isn't any
> java app in the store).
> How should I bundle java in my package?

Mike Terry's deb2snap script may be helpful to you here:

  https://github.com/mikix/deb2snap

Integrating this into the standard snappy developer experience is a work in
progress, but in the meantime this is a step in the right direction.

> It should be better to have a java snap to install and use when needed.
> What do you think?

By design, snap packages have no dependencies, except on frameworks which
are used to mediate shared resources on the system.  By bundling your
language runtime instead of depending on another package to provide it,
you're assured that your snap will behave consistently on all systems, and
that there's no risk of it suddenly breaking on a Snappy Ubuntu system as a
result of a new version of that dependency.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150502/a94ea9d7/attachment.pgp>


More information about the snappy-devel mailing list