Hi Mike
 
I'm guessing you've set JAVA_HOME to be "c:\jdk1.3.1_01 " (i.e. so its got a space in it).
 
If you look inside build.bat its a really easy script. Apart from setting the CLASSPATH all it really does is
 
set JAVA=%JAVA_HOME%\bin\java
...
%JAVA% -classpath %CP% -Dant.home=lib org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
 
So if %JAVA_HOME% has a space at the end it will think the JAVA_HOME is the executable, not the java.exe inside the bin directory.

James
----- Original Message -----
From: Mike
Sent: Monday, October 01, 2001 5:48 AM
Subject: [dom4j-user] Build Problem

Hi,
    I would appreciate any help with the following problem:
I downloaded the DOM4J package but can not run the build usage script.  I get an error " 'c:\jdk1.3.1_01'  not recognized as an internal or external command, operable program or batch file". 
    I have the JAVA_HOME system variable set to c:\jdk1.3.1_01 directory where I have the JDk installed. I also have the path set to c:\jdk1.3.1_01\bin.  Any ideas why I can not run the build script?  At present, I can still use much of the DOM4J.JAR in the Forte IDE, but can not use XPath methods. I assume it is because I can not run the build. 
    Any insight into this problem would be appreciated.
 
Thank You. 
Mike J.

Reply via email to