Le 24/03/2015 23:17, Jacques Le Roux a écrit :
OFBiz has ant embedded to be sure you will always use the right version.
Simply get to the OFBiz root folder before running ant, so for you

BTW this is explained in OFBiz download page 
http://ofbiz.apache.org/download.html :
<<unpack the release file and go into the newly created directory>>

Maybe not clear enough?

Jacques


C:\Program Files (x86)\Java\ofbiz

HTH

Jacques

Le 24/03/2015 22:01, Mauchline, Christopher R a écrit :
Trying to build ofbiz so that I can evaluate if it meets by company's needs.  
Cannot get it to compile(?) properly.  I haven't done Java in years.

I have the following jdk installed:  jdk1.8.0_40

I have the following environment variables set (for my userid):
ANT_HOME  C:\Program Files (x86)\Java\ofbiz\framework\base\lib
JAVA_HOME C:\Program Files (x86)\Java\jdk1.8.0_40
OFBIZ_HOME C:\Program Files (x86)\Java\ofbiz

Using Command Window:  set to C:\Program Files (x86)\Java>

The following Path is set:  PATH=.;C:\Program Files 
(x86)\Java\jre1.8.0_40\bin;C:\Program Files (x86)\Java\o
fbiz;C:\Program Files (x86)\Java\jdk1.8.0_40;C:\Program Files (x86)\Java\jdk1.8.
0_40\bin;C:\Program Files (x86)\Java\jdk1.8.0_40\lib;C:\Program Files (x86)\Java
\ofbiz\framework\base\lib;C:\Program Files (x86)\Java

When I run:  ant load-demo start
I get the following:  C:\Program Files (x86)\Java>"C:\Program Files 
(x86)\Java\jdk1.8.0_40\bin\java" -
jar framework/base/lib/ant-1.9.0-ant-launcher.jar -lib framework/base/lib/ant lo
ad-demo start
Error: Unable to access jarfile framework/base/lib/ant-1.9.0-ant-launcher.jar

What do I need to set or do differently.  I find this a real barrier to trying 
to test this software.



Reply via email to