Hello Jaysheel, Could you please double check if you have hard coded JDK in the Environment Variables? i.e., right click on the "My Computer" and then click Properties. Choose "Advanced" and click "Environment Variables". In the "System variables" check if you have a variable "JAVA_HOME"? If so, remove and test your application.
Another way to check which default JDK set for your machine: Open a command prompt and type the following: ------ java -fullversion ------ The above command will let us know which JDK default JDK is set for your machine. Reason for asking you to check the above options: I have run into a weird issue in windows environment with JDK hard coded in the environment variable. No matter what I did on the command prompt, JDK was overwritten with the JDK from System variable "JAVA_HOME". I'm not sure if you were running into the same issue. Thanks, Mohan -----Original Message----- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 12:07 PM To: Ant Users List Subject: Re: Multiple JVM Bandaru, Jaysheel wrote: > Thanks Antoine for your help. Following is the verbose : > > Apache Ant version 1.5.3 compiled on August 13 2003 > Buildfile: .\project.xml > Detected Java version: 1.4 in: C:\bea\jdk141_05\jre > Detected OS: Windows XP > parsing buildfile .\project.xml with URI = file:C:/scripts/./project.xml > Project base dir set to: C:\SMO_Latest\smonlinev2\scripts > [property] Loading C:\scripts\project.properties > Property ${sp} has not been set > Property ${sp} has not been set > Property ${local.host.ipa} has not been set > [property] Loading C:\scripts\global.properties > > I think it is still not detecting 1.5. > > This sample output does not show the point where the java task is starting and where you want to execute a jar using the Java 1.5 runtime. Are you executing the target which starts java ? Also, you could try using ant 1.6.5 ? Regards, Antoine > Thanks > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** 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]