You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Robert Sherry <rs...@comcast.net> on 2010/05/26 22:13:50 UTC

RE: Installation Issue

Adrian,

	Thanks for the response. As it turns out by JAVA_HOME environment
variable was set, but not set to the right directory. I fixed this issue and
I am now up and running with the demo.

Bob Sherry

-----Original Message-----
From: Adrian Crum [mailto:adrianc@hlmksw.com] 
Sent: Wednesday, May 26, 2010 12:52 PM
To: user@ofbiz.apache.org
Subject: Re: Installation Iusse

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
>
>