Hi Skip,

I just went through my OFBiz emails and came upon this one.  You said that I
should not use Java 6.  How would I know that??  I did java -version and it
showed 1.6.03.  Is this Java 6 or 5?

It also says:
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

I thought I downloaded Java EE.

Brendan


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 20, 2007 7:43 PM
To: user@ofbiz.apache.org
Subject: RE: Build

Brandon

Get used to your command line interface.  Don't start clicking on files.
build.xml is NOT generated.  It is downloaded from svn.

Make sure you have JAVA_HOME environmental variable set as well as ANT_HOME,
eg
set JAVA_HOME=<your install dir>

If you are going to do any serious java development, best to permanently set
in in the control panel system area.

Also, get rid of java 6.  This code uses java 5.  Make sure JAVA_HOME points
to it.  I put the java bin dir in my path.  Also, if you have a command
prompt and type:

java -version

It should report 1.5x

Cheers

Skip



-----Original Message-----
From: Brendan Vogt [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 20, 2007 8:50 AM
To: user@ofbiz.apache.org
Subject: Build


Hi,



How is the build.xml generated.  I'm sure I doubled clicked it in Windows,
then the build.xml was generated.



I ran ant run-install:  Then I got the following error message:



BUILD FAILED

C:\Development\Java\Eclipse\workspace\TestOfBiz\build.xml:106: The following
error occurred while executing this line:

C:\Development\Java\Eclipse\workspace\TestOfBiz\framework\build.xml:132: The
following error occurred while executing this line:

C:\Development\Java\Eclipse\workspace\TestOfBiz\framework\base\build.xml:80:
Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK.

It is currently set to "C:\Program Files\Java\jre1.6.0_03"



What is this error?



Regards

Brendan


Reply via email to