FreeBSD Java porting project questions

Alexey Zelkin phantom at
Wed Jul 7 13:06:14 PDT 2004


On Wed, Jul 07, 2004 at 11:38:04AM -0600, Greg Lewis wrote:
> On Wed, Jul 07, 2004 at 10:54:09PM +0700, Mikhail TSaplin wrote:
> > I have some questions about this freebsd port.
> > 1)Why we need linux jdk, when building a native distr?
> >   Is that necesarily to build compiler with classes semultaneusly?
> Just like gcc needs a C compiler to bootstrap itself, javac needs another
> java compiler to bootstrap itself (as its written in Java).  So far, we
> have used the Linux version to bootstrap unless an existing native version
> is available.  It may be possible to use Jikes, but there would need to be
> some patches to the build to achieve this.  This may become necessary for
> the 5.0 (aka 1.5) port as the Linux version doesn't currently run under
> emulation.

It always was possible to use previous release of jdk to bootstrap next
one.  As my expirement shown-- it's possible to use jdk 1.4.2 to bootstrap
of jdk 1.5.0.  So, it should not be a problem.

More information about the freebsd-java mailing list