Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2004 17:51:03 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Tabor Kelly <tkelly-freebsd-questions@taborandtashell.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Native Java JDK vs. Linux Java JDK via emulation
Message-ID:  <20041209045103.GC47780@grimoire.chen.org.nz>
In-Reply-To: <41B7BEEE.2000601@taborandtashell.net>
References:  <41B7BEEE.2000601@taborandtashell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 08, 2004 at 06:56:46PM -0800, Tabor Kelly wrote:

[...]
> What is the difference between the Native Java JDK (java/jdk14), and the 
> linux one (java/linux-sun-jdk14), besides the obvious fact that 
> java/linux-sun-jdk14 is officially sanctioned by Sun?

The native version works a lot better than the Linux version under
FreeBSD. Quite a few of the bigger Java projects will fail to run
correctly on the Linux version.

> Also, if java/jdk14 is a native binary build of Java, why does it 
> require java/linux-sun-jdk14?

The build of the native jdk14 requires a boot-strap Java-compiler, the
one most readily available being the linux-sun-jdk14 version. Once the
Native JDK14 is installed the Linux one can be removed. Updates to the
native JDK can use the installed Native JDK as its boot-strap compiler.

> Finally, a more general question: why do ports require specific versions 
> of java? For example: The OpenOffice port requires java/jdk-1.4.2p6_7, 
> shouldn't any vendor's copy of version 1.4 of the JDK work?

You'll have to ask the OpenOffice maintainers about this one.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041209045103.GC47780>