Re: Java and serial I/O on the iPaq

From: Juergen Kreileder <jk.a.t.blackdown.de>
Date: Wed May 29 2002 - 13:25:55 EDT

Goetz Bock <bock@blacknet.de> writes:

> On Wed, May 29 '02 at 11:32, Thomas O'Connell wrote:
>> - I got the JRE for ARM, ok that works. But there's no JDK
>> available. So, I can't compile.

Well, it's Java -- just compile on another architecture and copy the
class files. JNI headers also will look the same on all Linux
architectures.

> All you miss is the compiler (AFAIKT), there are some options to get
> it:
> - use an old one (there is a JDK 1.1.x or 1.2.x for ARM on blackdown),
> - use jikes or an other third party compiler, you should not need any
> libs, if you do JARs should be corss platform, just try the i386 ones
> - on the old java days the compiler was java, too, there was someone who
> made a javac package for one of the WinCE java versiones (on some
> WinCE site), but I cant remember who it was nor where to get it. Maybe
> it was posted to one of the HH.org's list (ipaq, familiar or intimate)

The tools are still written in Java:

Just copy tools.jar from some 1.3.1 J2SDK and run "java -classpath
/path/to/tools.jar:. com.sun.tools.javac.Main ..." instead of javac
and "java -classpath /path/to/tools.jar:. com.sun.tools.javah.Main
..." instead of javah.

        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Received on Wed May 29 19:25:55 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:40 EDT