On Fri, Feb 22, 2002 at 02:05:00PM +0000, Simon Waters wrote:
<> 
> I agree running on Kaffe is more important that compiling under
> Kaffe, and given my recent experiences mastering autoconf and C
> I shouldn't have been so hard on Kaffe, it probably my set up at
> fault. A FREE Java implementation is a worthy goal, even if IBM
> seem intent on giving better stuff away under more restrictive
> licenses.

I am a free software absolutist, so as long as I have a part in the
development, Freenet should always build and run on free tools. It both
builds and runs fine with the version of kaffe I am running, which I
took out the cvs a couple of months ago. Typically I compile using using
IBMs jikes compiler instead of kopi (which comes with kaffe) as it is
also free software and better (to use jikes with kaffe you just need to
install it and all add /usr/local/share/kaffe/Klasses.jar to your
CLASSPATH variable - just avoid jikes 1.15, it is broken).

Building freenet requires absolutely no scripts, simply move (or
symlink) the source code (freenet dir in freenet/src/) into a directory
that is in you add the the CLASSPATH, and then run each of the .java
files through jikes. (This should be the way to handle all java
software, but developers like my friends on this list want to make life
difficult for people.)

<>
> I was using the SUN 1.3.1 JDK on Redhat Linux 7.1, it choked
> badly on the Parser.java file, I cut several hundred lines out
> of the BIG(!!!!) string literal, and Parser.java compiled fine.
> So either file size, literal size, or just some data string it
> can't handle....

Well, either there is a bug in that compiler, or this is some limit that
other compilers are not strict about. I cannot find any reference to a
limit of the length of a string litteral in the language specification.
Perhaps Sun could clarify.

> This was the SUN JDK for linux, straight from the SUN website,
> in it's own shar file.
> 
> By recent do you mean 1.4? What OS are you using?

We have had multiple reports of Sun's 1.4 betas having issues with
sockets, I would not recommend them.

<>
-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to