Which javac is being used?
Jonathan Chen
jonc at chen.org.nz
Thu Jan 27 10:28:55 PST 2005
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 at chen.org.nz>
----------------------------------------------------------------------
Power corrupts, Absolute Power is pretty neat
More information about the freebsd-java
mailing list