[Sugar-devel] SarynPaint: a Java program packaged for the OLPC

Tomeu Vizoso tomeu at sugarlabs.org
Sat Aug 29 04:17:59 EDT 2009


On Sat, Aug 29, 2009 at 07:29, Ben Wiley Sittler<bsittler at gmail.com> wrote:
> A friend of mine wrote a hand/eye coordination game called SarynPaint
> and recently released the source code. SarynPaint is written in Java,
> so you'll need to install OpenJDK to use it. I just checked in minimal
> support for launching it from Sugar and rolled a .xo activity bundle
> file.
>
> The project: http://sarynpaint.googlecode.com/
>
> The activity bundle file: http://sarynpaint.googlecode.com/files/sarynpaint-1.xo
>
> How to get OpenJDK: http://wiki.laptop.org/go/Java#Installing_OpenJDK_Java
>
> I haven't been able to test that .xo link on an actual OLPC yet, so
> feel free to pass along bug reports, experiences, etc.
>
> So, is there some way I could list the OpenJDK dependency in the
> activity.info file and have the system offer to download and install
> OpenJDK if it has not yet been installed?

No, activity bundles are supposed to be self-contained, not depending
on anything else other than the standard Sugar platform.

As long as Java is not part of the Sugar platform, the JRE will need
to be bundled inside every activity that uses Java.

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


More information about the Sugar-devel mailing list