Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 76808 invoked from network); 7 Sep 2000 14:03:44 -0000 Received: from h209-50-64-162.mt.sfl.net (HELO mt.fiberone.net) (209.50.64.162) by locus.apache.org with SMTP; 7 Sep 2000 14:03:44 -0000 Received: by h209-50-64-162.mt.fiberone.net id <118083>; Thu, 7 Sep 2000 09:58:57 -0400 Reply-To: From: "Brian D. Wisniewski" To: Subject: RE: ant and Win98 (Newbie Question) Date: Thu, 7 Sep 2000 09:59:04 -0400 Message-Id: <00Sep7.095857edt.118083@h209-50-64-162.mt.fiberone.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <39B731A7.43913FA7@gmx.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Good Morning, Changing the line-feeds did help with clearing up the bad command or file name issue. Now however, I get the following when I attempt to run ant: Error: could not open `C:\Program Files\JavaSoft\JRE\1.3\lib\jvm.cfg' This does not seem to make sense because the JRE\1.3\lib folder does not exist within Javasoft? I am running Win98 with Ant v1.1, jdk1.2.1, Java API for XML Parsing v1.0.1, and Java 2 Runtime Environment Standard Edition v1.3. My Path is set to the following: SET PATH=c:\windows;c:\windows\command;c:\DOS;c:\jdk1.2.1\bin;c:\ant\bin;c:\PROG RA~1\Javasoft\JAXP1.0.1\ My CLASSPATH is set to: SET CLASSPATH=C:\PROGRA~1\JAVASOFT\JAXP1.0.1\PARSER.JAR;C:\PROGRA~1\JAVASOFT\JAX P1.0.1\JAXP.JAR;C:\ANT\;C:\JDK1.2.1\;C:\ANT\BIN I have also set the following: SET ANT_HOME=c:\ant SET JAVA_HOME=c:\jdk1.2.1 SET JAXPHOME=C:\Program Files\JavaSoft\Jaxp1.0.1 I suspect I'm missing something obvious but can't put my finger on it. Any information or guidance would be greatly appreciated. Thanks, Brian D. Wisniewski -----Original Message----- From: Ralf Purnhagen [mailto:purnhar@gmx.net] Sent: Thursday, September 07, 2000 2:12 AM To: ant-user@jakarta.apache.org Subject: Re: ant and Win98 Mike Pedersen wrote: > > Hello, I've been using ant with much success over the last couple months on > NT Solaris and Linux. I have recently tried to run it on win98 with no > success. I have set ant_home, java_home and the ant/bin directory is in > the path. I have also changed all references to "program files" in the > and.bat to point to short directory names thinking that there might be a > problem with long file names. When ever I attempt to run "ant" I get bad > command or file name. Any thoughts on this would be much appreciated. Maybe your .bat-Files still have unix-style line feeds. DOS (or the Win98 command line cannot process such files correctly. Try to open the ant.bat with windows notepad. If there are unix-style line feeds in the file, there will be black boxes instead of line-feeds. Ralf