Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 16154 invoked from network); 11 Feb 2002 05:14:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Feb 2002 05:14:57 -0000 Received: (qmail 26600 invoked by uid 97); 11 Feb 2002 05:14:56 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 26582 invoked by uid 97); 11 Feb 2002 05:14:55 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 26571 invoked from network); 11 Feb 2002 05:14:55 -0000 Reply-To: From: "Srinivas Velidanda" To: "Ant Users List" Subject: RE: trouble getting ant1.4.1 to work Date: Mon, 11 Feb 2002 10:41:00 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <1013279470.3c656aee76fb6@webmail.rpa.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: High X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, ant.jar file in jakarta-ant-1.4.1\lib should be in your classpath at runtime. You run ant, without having any other classes in your classpath. Before running ant batch file you make sure, classpath environment variable contains no classes by typing set classpath= and press enter at command prompt, then you run ant. before doing this make sure the JAVA_HOME environment variable points correctly to your current version of java home directory. ant batch file set all the required jar files into the classpath and then executes. mail me back if this works fine, still if you have problems, mail me what actually happening. Srinivas. -----Original Message----- From: bobnsandy@rpa.net [mailto:bobnsandy@rpa.net] Sent: Sunday, February 10, 2002 12:01 AM To: ant-user@jakarta.apache.org Subject: Fwd: trouble getting ant1.4.1 to work Hi: I'm new to the group. I am having trouble getting ant 1.4.1 working on my PC. Can someone help? I have downloaded the jakarta-ant-1.4.1 zip file and unzipped it into d:\ I have set: set ANT_HOME=d:\ant1.4.1 set JAVA_HOME=c:\jdk1.3.1_01 set path=%path%;%JAVA_HOME%\bin;%ANT_HOME%\bin (in my autoexec.bat) set classpath=%classpath%;%ANT_HOME%\lib\*.jar (in the current command shell) when I type: ant -version on the command line, I get: Exception in thread "main" java.lang.NoClassDefFoundError:org/apache/tools/ant/Main I am using Windoze 98 on an Athalon Thunderbird processor. The mystery is that, when I try this at work on Windows NT 4.0/Pentium III, I have no trouble. Any thoughts? Thanks. ----- End forwarded message ----- -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: