There is nothing wrong with the batch file - it works fine on Windows XP.

Open a command window and try typing "set | more" to make sure your JAVA_HOME environment variable is set.

-Adrian

On 5/26/2010 9:45 AM, Robert Sherry wrote:


             I am now to OFBiz. I recently installed OFBiz on my personal
computer which runs Windows XP. When I ran the batch file

startofbiz.bat I got the following error:



             C:\OFBiz>echo off

             C:\OFBiz>"c:\Program Files\Java\bin\java" -X  -jar ofbiz.jar

             The system cannot find the path specified.



Now, by environment variable JAVA_HOME is set to C:\Program Files\Java. I
fixed the problem (but I consider this fix some what of a kludge) by
changing line 54

in the file startofbiz.bat from:

             "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m
-jar ofbiz.jar

to:

             java -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar



With this change, the program does indeed start up and it appears to work.
Did I do something wrong in the installation process? Is there a problem
with the installation script?



Thanks



Bob Sherry


Reply via email to