Do a java -version and see if you are using the java in your JAVA_HOME or if you are using the java that comes with Windows.
Also there is a test in ant.bat where it checks the OS variable. You can either eliminate the test or see if setting OS to Windows_NT makes a difference. Hope that helps. dM -----Original Message----- From: Naveen_JaiDayal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 7:51 AM To: [EMAIL PROTECTED] Subject: Ant build problem URGENT!!!!!! Hi All I have started using Ant1.5 just today. I have installed everything as per the manual says. My OS version is Win2k, JDK version is 1.3 etc. I tried to build a small web application. The Ant utility created the whole target dir structure, copied every thing there. After that it started to compile the java files and gave this error. BUILD FAILED D:\testing\navTestSite\build.xml:104: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. Please anybody help me here why this is happening because I have set the JAVA_HOME property in my environment variables properly. It is JAVA_HOME=D:\JDK1.3. What is this classic/modern compiler problem? Thanks a Lot Naveen ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>