You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Brian D. Wisniewski" <br...@cgiusa.com> on 2000/09/07 15:59:04 UTC
RE: ant and Win98 (Newbie Question)
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