From owner-freebsd-java Wed Mar 19 18:53:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9126837B401 for ; Wed, 19 Mar 2003 18:53:41 -0800 (PST) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D71043F75 for ; Wed, 19 Mar 2003 18:53:40 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.124] (port=49597 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18vqBX-00026j-00 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:53:39 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.8/8.12.8) with ESMTP id h2K2rcfj070326 for ; Thu, 20 Mar 2003 10:53:39 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.8/8.12.8/Submit) id h2K2rc9q070325 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:53:38 +0800 (CST) Date: Thu, 20 Mar 2003 10:53:38 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320025338.GA70314@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 19, 2003 at 08:21:44PM -0600, Doug Poland wrote: > Curious. I don't know the answer to your question. How do you > recompile with a different jdk? In the jakarta-tomcat41 Makefile it > echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is > set. I obviously don't know enough about the port Makefile > business. > > Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 > is the only jdk for use in jboss3 and tomcat41. > > -- > Regards, > Doug I did submit a patch for bsd.java.mk which will make 1.4.1 jdk a dependency if it is the *only* jdk installed (I haven't come up with the multi-jdk case, but it looks really messy). With the patch, jboss and tomcat will pick up jdk14 as dependency and insert them into their respecitve wrappers. Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message