From owner-freebsd-java@FreeBSD.ORG Thu Mar 20 20:47:29 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 63B6E106566C for ; Thu, 20 Mar 2008 20:47:29 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 0250D8FC22 for ; Thu, 20 Mar 2008 20:47:28 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m2KKlDk8035700; Thu, 20 Mar 2008 13:47:13 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m2KKlCrf035699; Thu, 20 Mar 2008 13:47:12 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 20 Mar 2008 13:47:12 -0700 From: Greg Lewis To: Eirik ?verby Message-ID: <20080320204712.GC35634@misty.eyesbeyond.com> References: <200803191534.m2JFY1d6085430@lurza.secnetix.de> <8F5A2261-60E1-475D-9425-3CA8DE88226B@anduin.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F5A2261-60E1-475D-9425-3CA8DE88226B@anduin.net> User-Agent: Mutt/1.4.2.2i Cc: Oliver Fromme , freebsd-java@freebsd.org 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: Thu, 20 Mar 2008 20:47:29 -0000 On Wed, Mar 19, 2008 at 05:06:21PM +0100, Eirik ?verby wrote: > On Mar 19, 2008, at 16:34, Oliver Fromme wrote: > >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? > >> > >>ports/java/diablo-jdk15 is the ports way of installing the > >>binary package, you can do the same with pkg_add -r. > > > >I see. So I basically get the same result as downloading > >the package from freebsdfoundation.org (which is not what > >I want). > > > >Thanks for answering! > > > >>>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? > >> > >>For FreeBSD 7.0, you will have to install misc/compat6x > > > >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. > > > >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? > > Anecdotal evidence: We tried, for a short while, 1.6 on 6.3 for a very > busy tomcat driven site, noticed no ill effects but also no > immediately noticeable changes in system load, etc. > > > >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. > > On comparable hardware (less RAM, though), and tomcat driven apps, we > saw a *real* improvement going to 7.0/1.6 from 6.3/1.5. If the initial > numbers hold up, we can cancel the next two rounds of "throwing > hardware at the problem" as traffic goes up. > > Unfortunately, I have not yet repeated the 1.6 vs 1.5 experiment on 7. > And of course, different applications bring out different parts of > tomcat and the library stack, so your mileage may vary wildly. 1.6 is showing performance improvements over 1.5 here at work. Unfortunately thats on Linux rather than FreeBSD :(. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org