http://ofbiz.116.s1.nabble.com/OFBIZ-installation-with-eclipse-XP-tp585845p585887.html
It seems from your error you should increase your heap size.
Try this |java -Xmx256M -jar ofbiz.jar |to run OFBiz.
> I am using the ofbiz first time and did the following steps from different
> installation guides.
>
> Step-1:
> Importing OFBiz from the filesystem into Eclipse
> -------------------------------------------------
> File==>Import==>General==>Existing Projects into Workspace==>
> <Next>
> ==>Select root directory==><browse>==>ofbiz folder
>
>
> Step-2:
> =======
> build.xml==>Right click==>Run As==>Ant Build
>
>
> Step-3:
> Using SVN from within Eclipse
> ------------------------------
> (a) Eclipse==>Window==>Open Perspective==>Other==>SVN Repository Exploring
>
> (b) <SVN Repository Tab>==>Right Click==>Url:
>
http://svn.apache.org/repos/asf/ofbiz/trunk ==>finish
>
> (c)
http://svn.apache.org/repos/asf/ofbiz/trunk ==> Right click ==> Checkout
>
> (d) Check out as a project in the workspace ==> Project Name: ofbiz ==> Next
> ==> Usedefault workspace
> location <checked> ==> Finish(e)
> The resources 'ofbiz' already exists in the workspace and will be deleted.
> Proceed? ==>
>
> Cancel
>
> Please Note: followed Link from step-1 to step-3
> ************************************************
>
http://docs.ofbiz.org/display/OFBIZ/Eclipse+Tips>
>
> Step-4:
> Connect to OFBiz with Eclipse as a Debugger and Run Configurations
> -------------------------------------------------------------------
> (a) ofbiz ==> Right Click ==> Debug As ==> Debug Configurations
>
> (b) Remote Java Application ==> Right Click ==> New ==> ofbiz
>
> (c) Project: ofbiz ==> Connection Type: Standard (Socket Attach) ==> Host:
> localhost ==> Socket:8091 ==> Finish
>
> (d) Java Application option in left pan ==> Right Click ==> New ==> Project:
> ofbiz ==> main class: org.ofbiz.base.start.Start
>
> ==> Stop in main <checked>
>
> (e) Classpath <tab> ==> remove ==> ofbiz (default classpath) ==> Click User
> Entries ==> Add Jar ==> ofbiz ==> ofbiz.jar ==>
>
> Finish
>
> Please Note: followed Link for step-4
> ************************************************
>
http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Debugging(orrunning)OFBizinEclipse>
> =================================================
> I tried to run and its throwing the following error on the console:
> =================================================
>
http://n4.nabble.com/file/n585845/console_output.txt console_output.txt
>
>
> Please advise and thanks for viewing/replying my thread in advance
>
>
>