Unfortunately SUN could not get around to release Java for the SheevaPlug. If you tried install sun-java6-jre, you will get the follow error message:
The following packages have unmet dependencies: sun-java6-jre: Depends: sun-java6-bin (= 6-13-1) but it is not installable or ia32-sun-java6-bin (= 6-13-1) but it is not installable E: Broken packages
Fortunately the open source community answers the call with openjdk-6, an open source equivalent of sun-java6. The browser plugin for openjdk-6 is icedtea6-plugin. So let's install both on the Sheeva Plug.
sudo apt-get install openjdk-6-jre icedtea6-plugin
Testing the IcedTea plugin
First lets test the plugin installation on firefox. I already have NX installed on my Sheeva Plug so it is not hard for me to bring up an NX session and startup firefox. I then test the installation by going to http://www.javatester.org/version.html. As you can see from the screen shot, the test was a success. However, the test will fail if you use SUN's tester (http://www.java.com/en/download/testvm.xml). The Java "grey box" will appear but you'll get an error message on the bottom left corner that reads applet not initialized.. I believe this is a problem with icedtea6 not being compatible with SUN.
The next thing to test is the JRE. The only Java application I know of is Azureus (or Vuze). But that proves to be difficult because Azureus requires swt.jar which is the Standard Widget Toolkit from Eclipse. That toolkit was not released for the ARM platform so Azureus will not run. I cobbled together a quick "Hello World" application and ran it with
and of course that worked fine. So I suspect that simple Java applications will run but those that requires a lot of support libraries will not.
Did you find this page useful?