This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Path to javac


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]