Java

From OLPC
Revision as of 13:14, 10 April 2008 by Agent-00soul (talk | contribs) (Potentially interesting Java programs)
Jump to: navigation, search

Overview

Java is currently not shipped by default. Only open source software is, and apparently open source versions are either not yet usable[1], or only just becoming usable in early 2008 [2].

While not shipped by default, people do install java. And governments may install it, along with other non-free software, in their versions of the distribution. It appears applets now work in the browser if java is installed.[3]

In preparing java for wider use, two challenges might be getting something appropriately sized for the olpc laptop (eg, efforts to make the jre less bloated, or using something like JavaSE), and integrating with the Gtk/C/Python infrastructure for collaboration, storage, etc.

But the basic bottleneck, on this as in most things OLPC, is shortage of people. The core team is focused on the core, and on each deadline. The community fills in the many opportunties that leaves. And it doesn't look like anyone is really pushing on Java yet.

But sometimes work is happening without the wiki being updated. So it might be worth writing the devel list, to create a less random guess at current state.

Perhaps what will happen is someone with some applets or a java program they care about will clean up the wiki instructions for installing java. Some country will decide to ship java, and people will create content bundles containing html and applets. Perhaps someone will ship a program compiled with gcj, and the libraries included in their own ~20MB space budget. Someone will bang on using jython for the sugar ui. And java will increasingly become an option.

People and groups who have worked on integrating Java with the OLPC XO

  • Java on the OLPC, Concord Consortium has worked on getting Java Web Start to work on the OLPC to enable deployment of it's open source science and math software frameworks and activities on the OLPC.
  • The OLPC and Java, Cay Horstmann (the author of Core Java) has a blog entry about his efforts to get Java working on the OLPC he bought through the Give One Get One program.

JNLP Handler

see JNLP Handler

Installing Java

Potentially interesting Java programs

Java becoming open source

Do the following pages about Java becoming free and open source have implications for using Java on the OLPC laptop?

http://www.sun.com/software/opensource/java/

http://news.bbc.co.uk/1/hi/technology/6144748.stm

Initially, Java is not available on the laptop. JavaScript—technologically-wise unrelated to it—will be.
IcedTea is a 100% open-source implementation of java - it is a hybrid of open-source code from Sun and Gnu. Creating a useful, non-bloated version of this for the OLPC would involve work. If you are interested in helping with this project, you would need to explore with OLPC the goals, help organize work, and get going. (No links provided because you'd have to be a self-starter too :). Good luck!

Alternatives to Java on the laptop

See "Thin client" for the implications of a server based approach.

Dynamic Scripting

Learn more about "Jython" to create dynamic scripting environments under Java.

See also