Date: Fri, 28 Jan 2005 07:28:54 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Jiawei Ye <leafy7382@gmail.com> Cc: freebsd-java@freebsd.org Subject: Re: Which javac is being used? Message-ID: <20050127182853.GA94844@osiris.chen.org.nz> In-Reply-To: <c21e92e2050126220560f64073@mail.gmail.com> References: <c21e92e2050126220560f64073@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 27, 2005 at 02:05:46PM +0800, Jiawei Ye wrote: > Hi, > > On my server, both JDK14 and JDK15 are installed. I can select proper > javavm by setting $JAVA_HOME, but only the 1.4 javac is used when I > invoke 'javac'. The /usr/local/bin/java shell script inspects /usr/ports/bsd.java.mk for the default JVM to use. You have to set the JAVA_VERSION environment variable to force it to pick the one you want to use. Cheers. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050127182853.GA94844>