Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 17:55:44 +0200
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Cc:        Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: JDK ports questions
Message-ID:  <200803191755.44988.achill@matrix.gatewaynet.com>
In-Reply-To: <200803191534.m2JFY1d6085430@lurza.secnetix.de>
References:  <200803191534.m2JFY1d6085430@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
=CE=A3=CF=84=CE=B9=CF=82 Wednesday 19 March 2008 17:34:01 =CE=BF/=CE=B7 Oli=
ver Fromme =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:
> Achilleas Mantzios wrote:
>  > Oliver Fromme wrote:
>  > > What is the difference between ports/java/diablo-jdk15
>  > > and ports/java/jdk15?  Which of them should be used?
>  >=20
>  > ports/java/diablo-jdk15 is the ports way of installing the
>  > binary package, you can do the same with pkg_add -r.
>=20
> I see.  So I basically get the same result as downloading
> the package from freebsdfoundation.org (which is not what
> I want).
>=20
> Thanks for answering!
>=20
>  > > So far I have only used the Sun-blessed binary package
>  > > from the FreeBSD foundation download page, so I don't
>  > > know much about the various ports.  However, those
>  > > packages are now quite old, so I would like to build
>  > > an up-to-date JDK for FreeBSD 7.  Which port should
>  > > be used for that?
>  >=20
>  > For FreeBSD 7.0, you will have to install misc/compat6x
>=20
> But it's only required for the bootstrap, right?
> I.e. when I have built the JDK successfully, I don't
> need compat6x anymore, I assume.
>=20

No, the diablo-jdk1.5.0 executable depends on=20
/usr/local/lib/compat/libpthread.so.2 which is in compat6x-i386

Bootstrap issues exist when you need e.g. a linux jdk in order to compile
the java classes of the FreeBSD native port. In that case you install the
linux-jdk-whatever, build/install the native port, pkg_deintall the linux-j=
dk-...

=46or some reason, now that i look at it, compat6x is not recorded as
a prerequisite for diablo-jdk1.5.0,
[achix@panix ~]% pkg_info -Rr diablo-jdk-1.5.0.07.01_9
Information for diablo-jdk-1.5.0.07.01_9:

Depends on:
Dependency: xtrans-1.0.4
Dependency: xproto-7.0.10_1
Dependency: xextproto-7.0.2
Dependency: javavmwrapper-2.3
Required by:
apache-ant-1.7.0_1

Is there a problem, or is my pkg db broken?

> Thinking about it ...  When I compile my own JDK anyway,
> I could just as well go for the JDK 1.6 instead of 1.5.
> Are there any known problems with building JDK 1.6 on
> FreeBSD/amd64 7.0?  Anything I should be aware of?
>=20
> The JDK is going to be used on several 8-core amd64
> machines with 64 GB RAM to run tomcat-based CMS for a
> very busy web site.  No need to say, stability is top-
> priority.
>=20
> Best regards
>    Oliver
>=20



=2D-=20
Achilleas Mantzios

KOSOVO IS SERBIA FOR EVER



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