You could try to change the JAVA_HOME environment variable via a shell script.
Cheers. > -----Mensaje original----- > De: Barnes, Michael [SMTP:[EMAIL PROTECTED] > Enviado el: viernes, 08 de octubre de 2004 15:14 > Para: '[EMAIL PROTECTED]' > Asunto: Switching JDK > > I have 2 JDK's on my system. I need to get ant to use the appropriate JDK > and can not figure out how to do this as well as verifying that ant is using > the appropriate JDK. BTW, I am running ANT 1.6.1 > > Thanks > > > ************************************************************** > This message, including any attachments, contains confidential information intended > for a specific individual and purpose, and is protected by law. If you are not the > intended recipient, please contact sender immediately by reply e-mail and destroy > all copies. You are hereby notified that any disclosure, copying, or distribution > of this message, or the taking of any action based on it, is strictly prohibited. > TIAA-CREF > ************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
