From owner-freebsd-java Mon Mar 18 12:23:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from msr51.hinet.net (msr51.hinet.net [168.95.4.151]) by hub.freebsd.org (Postfix) with ESMTP id 2A89637B417 for ; Mon, 18 Mar 2002 12:23:13 -0800 (PST) Received: from winax.home (61-217-153-135.HINET-IP.hinet.net [61.217.153.135]) by msr.hinet.net (8.8.8/8.8.8) with SMTP id CAA08618; Tue, 19 Mar 2002 02:17:44 +0800 (CST) Date: Tue, 19 Mar 2002 02:17:42 +0800 From: Yong-Jhen Hong To: Rik Scarborough Cc: freebsd-java@FreeBSD.ORG Subject: Re: JAVA_HOME varible Message-ID: <20020318181742.GA315@winax.home> References: <20020318175909.GE8126@gruffy.kc.rr.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20020318175909.GE8126@gruffy.kc.rr.com> User-Agent: Mutt/1.3.27i 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 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 18, 2002 at 11:59:09AM -0600, Rik Scarborough wrote: > I have set the export in my .bashrc file, but the scripts that run Ant > and Tomcat are sh scripts and JAVA_HOME does not seem to be passed to > them. Does anyone have a clean way of getting JAVA_HOME set so a sh > script will pick it up? How about set it in your .profile file? It works for me, and quiet annoying while building JDK ;) With regards, -Winard --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8li9FMczB8rP/pbkRAvEzAKCRACE6lSQ0Bm1CTy/QxIV5gPiKMwCbBeOG hMMrMXTrYehRb7p9MlNlHLA= =XtCH -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message