From owner-freebsd-java Wed Mar 19 18:21:47 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 910F937B401 for ; Wed, 19 Mar 2003 18:21:46 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF9F43F75 for ; Wed, 19 Mar 2003 18:21:45 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h2K2LhDh038634; Wed, 19 Mar 2003 20:21:44 -0600 (CST) (envelope-from doug@polands.org) Received: from 172.16.1.33 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 19 Mar 2003 20:21:44 -0600 (CST) Message-ID: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Date: Wed, 19 Mar 2003 20:21:44 -0600 (CST) Subject: Re: Specifying jdk for tomcat 4.1.18 From: "Doug Poland" To: In-Reply-To: <20030320020719.GA70161@leafy.idv.tw> 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> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 leafy said: > 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. >> > 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? > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message