Installation Iusse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation Iusse

Robert Sherry
 

            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 | Threaded
Open this post in threaded view
|

Re: Installation Iusse

Adrian Crum
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 | Threaded
Open this post in threaded view
|

Re: Installation Iusse

BJ Freeman
In reply to this post by Robert Sherry
https://cwiki.apache.org/confluence/display/OFBADMIN/Demo+and+Test+Setup+Guide

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Robert Sherry sent the following on 5/26/2010 9:45 AM:

>  
>
>             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 | Threaded
Open this post in threaded view
|

RE: Installation Issue

Robert Sherry
In reply to this post by Adrian Crum
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:[hidden email]]
Sent: Wednesday, May 26, 2010 12:52 PM
To: [hidden email]
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
>
>