Hi Mauro,

On Tue, Apr 28, 2015 at 03:58:27AM -0500, [email protected] 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, [email protected] 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/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
snappy-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

Reply via email to