my Zaurus SL-C3000 and SL-C3100
http://www.users.on.net/~hluc/myzaurus/
92 of 212
16/09/2007 12:23
# ln -s /usr/lib/+-3-libc6.1-2-2.10.0.so /usr/lib/+-libc6.2-2.so.3
If you don't have the + library then install this
libstdc6_1.2.2_arm.ipk
package.
Remember that if you want to run Java (J2SE) in graphics mode, ie awt and swing, then you need
to install X/Qt (see X/Qt section) and you might need additional libraries which may or may not
have been bundled with the blackdown distribution you installed. The following is a list of libraries
you might need to add (which are contained in additional-ipaq-stuff.tar.gz):
libBrokenLocale-2.2.2.so linked to libBrokenLocale.so.1
libXm.so.2.1 linked to libXm.so.2
libXp.so.6.2 linked to libXp.so.6
You should also install JSSE which will add SSL support for Java 1.3.x. Download the JSSE zip file
(jsse-1_0_3_03-gl.zip) from Sun's website and extract the three .jar files and copy them to the
.../jre/lib/ext directory.
If you want to write Java applications on the Zaurus as well in addition to just running them, then
you need a Java compiler. The following compilers are available:
IBM's Jikes - [zaurus_jikes.tar.gz]
Kopi Compiler - [Kopi.1.5.zip]
Sun's javac - [tools.jar] from a 1.3.1 JDK
I have created ipk files for the following Java applications that I've written:
HdPad 1.0 (Java Text Editor) - [
hdpad_1.0_arm.ipk
] (works with J2ME but needs rt.jar from
blackdown; works with J2SE in X/QT)
HdProxy 1.1 (Java Proxy Server) - [
hdproxy_1.1_arm.ipk
] (works with J2SE in X/Qt)
HdCrawler 2.5 (Java Download tool for Yahoo and MSN groups) - [
hdcrawler_2.5_arm.ipk
]
(works with J2SE and JSSE added in X/Qt)
More info about these Java apps can be found at the
HdLSoft
site.
I have also created a cramfs image with the jre and tools pre-installed and configured. All you need
to do to use it is to mount the cramfs image and create some links to the executables by running
java-setup.
# su
# mkdir -p /mnt/java