From owner-freebsd-java Wed Mar 19 18: 7:24 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 8290F37B401 for ; Wed, 19 Mar 2003 18:07:23 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25CD43FAF for ; Wed, 19 Mar 2003 18:07:21 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.124] (port=49312 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18vpSj-000Jw5-00 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:07:21 +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 h2K27Kfj070176 for ; Thu, 20 Mar 2003 10:07:20 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.8/8.12.8/Submit) id h2K27J54070175 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:07:19 +0800 (CST) Date: Thu, 20 Mar 2003 10:07:19 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320020719.GA70161@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> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <1616.172.16.1.33.1048125648.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:00:48PM -0600, Doug Poland wrote: > /usr/local/bin/tomcat41ctl I see references to /usr/local/jdk1.3.1. > Unless I'm missing something, I think that this tomcat41ctl > port has the path to /usr/local/jdk1.3.1 compiled into the > binary and there is no way to path to a different jdk. > > -- > Regards, > Doug The same goes for jboss3ctl. If I want to switch to a different jdk, I have to recompile the whole thing(!). Is it possible to explicitly set JAVA_HOME when invoking the wrappers? Or by setting some configuration files for that? 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