users@jax-rpc.java.net

Re: ant task wscompile frustration

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Tue, 14 Jun 2005 12:47:51 -0400

>
> /home/crissilva> echo $JAVA_HOME
> /usr/lib/jvm/java-1.4.2-sun-1.4.2.05
>
> [echo] ant thinks java.home is =
> /usr/lib/jvm/java-1.4.2-sun-1.4.2.05/jre
>
> So ant uses the JRE - didn't know that. Question:
> $JAVA_HOME/jre/lib does not have tools.jar. How do I
> tell ANT via $JAVA_HOME to get tools.jar? ../lib
> seemingly doesn't work.

Do you have just the jre installed and not the full jdk? Without the
tools.jar file, wscompile will not be able to compile the code that it
generates.

Cheers,
Bobby