From owner-freebsd-java@FreeBSD.ORG Wed Mar 19 15:55:56 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11BD41065672 for ; Wed, 19 Mar 2008 15:55:56 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFC78FC16 for ; Wed, 19 Mar 2008 15:55:54 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m2JFtrgg004209; Wed, 19 Mar 2008 17:55:53 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m2JFtjMD004208; Wed, 19 Mar 2008 17:55:45 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 19 Mar 2008 17:55:44 +0200 User-Agent: KMail/1.9.7 References: <200803191534.m2JFY1d6085430@lurza.secnetix.de> In-Reply-To: <200803191534.m2JFY1d6085430@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200803191755.44988.achill@matrix.gatewaynet.com> Cc: Oliver Fromme Subject: Re: JDK ports questions X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 15:55:56 -0000 =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