When having fork=true the java task simply tries to create a proccess "java ..." which will invoke the java executable wich is in the PATH Env.
I have JDK 1.2, 1.3, 1.4 on my machine and 1.2 is in the path. Ant itself is configured by the JAVA_HOME variable (which is good and simple) but <java> does'nt care about. The same Problem arises with Ant 1.4.1 and the <javac> Task, wich seems to be fixed in 1.5alpha ! Jens Zastrow -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
