Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 11:59:09 -0600
From:      Rik Scarborough <RikSca@kc.rr.com>
To:        FreeBSD Java <java@FreeBSD.org>
Subject:   JAVA_HOME varible
Message-ID:  <20020318175909.GE8126@gruffy.kc.rr.com>

next in thread | raw e-mail | index | archive | help
Hi,

When I try to run some Java applications, such as Ant and Tomcat, I get
complaints that basically say the JAVA_HOME variable is not set
correctly.  I've fixed that in Tomcat by changing the scripts to set
JAVA_HOME themselves.  I'm prepared to do that with Ant as well, but
there has to be a better way.

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?

~Rik
-- 
Ranger Rik -- RikSca@mac.com

Brought to you by FreeBSD 4.4               Joshua 24:15

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020318175909.GE8126>