This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Path to javac
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org, Tim Johnson <tim at johnsons-web dot com>
- Date: Mon, 22 Mar 2010 17:32:17 -0700
- Subject: Re: Path to javac
- References: <20100323003146.GM22598@johnsons-web.com>
On 03/22/2010 05:31 PM, Tim Johnson wrote:
FYI: I'm a long time (web) programmer. New to scheme, but somewhat
familiar with other lispish languages. (elisp, newlisp, autolisp
long ago)
Welcome to Kawa!
the path to javac is /usr/lib/java/bin/javac
When I run make, make complains that it cannot find javac.
What is the appropriate method with which to set the path to javac?
Should it be added to $PATH or is there another variable?
Pointers to URL docs would be fine.
The configure script sets JAVA and JAVAC, based on environment
variables, so either of these should be fine:
(1) Set JAVA and JAVAC when you run configure:
JAVA=/usr/lib/java/bin/java JAVAC=/usr/lib/java/bin/javac \
./configure ...
(2) Set the PATH so javac and java are in it. I.e.:
PATH=/usr/lib/java/bin:$PATH
./configure
make
Myself, I just do (2).
--
--Per Bothner
per@bothner.com http://per.bothner.com/