You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Brendan Vogt <br...@gmail.com> on 2007/10/20 17:49:52 UTC

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


Re: Build

Posted by BJ Freeman <bj...@free-man.net>.
the build.xml is not generated, but used to build the jar files.
the error you got that the tools.jar that has the Javac in it is not
able to be found.
you are correct you are not pointed to the JDK
change your windows environment so JAVA_HOME points to 1.5 JDK

Brendan Vogt sent the following on 10/20/2007 8:49 AM:
> 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
> 
> 

Re: Build

Posted by Raj Saini <ra...@gmail.com>.
Ofbiz may work with 1.6, but is mostly developed and tested on 1.5. 
Since, you are new to Ofbiz it is advised to use 1.5.

Thanks,

Raj
Brendan Vogt wrote:
> And why is this not supposed to be used with OFBiz??
>
>
> -----Original Message-----
> From: v. sunder anand [mailto:sunder.sunder@gmail.com] 
> Sent: Saturday, December 08, 2007 3:42 PM
> To: user@ofbiz.apache.org
> Subject: Re: Build
>
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <br...@gmail.com>
>
> Date: Sat, 8 Dec 2007 15:38:43 
> To:<us...@ofbiz.apache.org>
> Subject: RE: Build
>
>
> 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: skip@theDevers [mailto:skip@thedevers.org] 
> 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:brendan.vogt@gmail.com]
> 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
>
>
>
>
>   


Re: Build

Posted by Raj Saini <ra...@gmail.com>.
As Far As I Know

Brendan Vogt wrote:
> AFAIK??
>
>
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com] 
> Sent: Saturday, December 08, 2007 4:12 PM
> To: user@ofbiz.apache.org
> Subject: Re: Build
>
> AFAIK, there are no problems with 1.6.
>
> Jacques
>
> De : "Brendan Vogt" <br...@gmail.com>
>   
>> And why is this not supposed to be used with OFBiz??
>>
>>
>> -----Original Message-----
>> From: v. sunder anand [mailto:sunder.sunder@gmail.com] 
>> Sent: Saturday, December 08, 2007 3:42 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Build
>>
>>     Java version clearly tell that it is java 1.6 (called as java 6)
>>  
>> -----Original Message-----
>> From: "Brendan Vogt" <br...@gmail.com>
>>
>> Date: Sat, 8 Dec 2007 15:38:43 
>> To:<us...@ofbiz.apache.org>
>> Subject: RE: Build
>>
>>
>> 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: skip@theDevers [mailto:skip@thedevers.org] 
>> 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:brendan.vogt@gmail.com]
>> 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
>>
>>
>>
>>     
>
>
>   


RE: Build

Posted by Brendan Vogt <br...@gmail.com>.
AFAIK??



-----Original Message-----
From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com] 
Sent: Saturday, December 08, 2007 4:12 PM
To: user@ofbiz.apache.org
Subject: Re: Build

AFAIK, there are no problems with 1.6.

Jacques

De : "Brendan Vogt" <br...@gmail.com>
> And why is this not supposed to be used with OFBiz??
> 
> 
> -----Original Message-----
> From: v. sunder anand [mailto:sunder.sunder@gmail.com] 
> Sent: Saturday, December 08, 2007 3:42 PM
> To: user@ofbiz.apache.org
> Subject: Re: Build
> 
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <br...@gmail.com>
> 
> Date: Sat, 8 Dec 2007 15:38:43 
> To:<us...@ofbiz.apache.org>
> Subject: RE: Build
> 
> 
> 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: skip@theDevers [mailto:skip@thedevers.org] 
> 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:brendan.vogt@gmail.com]
> 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
> 
> 
> 


Re: Build

Posted by Jacques Le Roux <ja...@les7arts.com>.
AFAIK, there are no problems with 1.6.

Jacques

De : "Brendan Vogt" <br...@gmail.com>
> And why is this not supposed to be used with OFBiz??
> 
> 
> -----Original Message-----
> From: v. sunder anand [mailto:sunder.sunder@gmail.com] 
> Sent: Saturday, December 08, 2007 3:42 PM
> To: user@ofbiz.apache.org
> Subject: Re: Build
> 
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <br...@gmail.com>
> 
> Date: Sat, 8 Dec 2007 15:38:43 
> To:<us...@ofbiz.apache.org>
> Subject: RE: Build
> 
> 
> 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: skip@theDevers [mailto:skip@thedevers.org] 
> 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:brendan.vogt@gmail.com]
> 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
> 
> 
> 

RE: Build

Posted by Brendan Vogt <br...@gmail.com>.
And why is this not supposed to be used with OFBiz??


-----Original Message-----
From: v. sunder anand [mailto:sunder.sunder@gmail.com] 
Sent: Saturday, December 08, 2007 3:42 PM
To: user@ofbiz.apache.org
Subject: Re: Build

    Java version clearly tell that it is java 1.6 (called as java 6)
 
-----Original Message-----
From: "Brendan Vogt" <br...@gmail.com>

Date: Sat, 8 Dec 2007 15:38:43 
To:<us...@ofbiz.apache.org>
Subject: RE: Build


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: skip@theDevers [mailto:skip@thedevers.org] 
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:brendan.vogt@gmail.com]
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




Re: Build

Posted by "v. sunder anand" <su...@gmail.com>.
    Java version clearly tell that it is java 1.6 (called as java 6)
 
-----Original Message-----
From: "Brendan Vogt" <br...@gmail.com>

Date: Sat, 8 Dec 2007 15:38:43 
To:<us...@ofbiz.apache.org>
Subject: RE: Build


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: skip@theDevers [mailto:skip@thedevers.org] 
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:brendan.vogt@gmail.com]
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



Re: Build

Posted by BJ Freeman <bj...@free-man.net>.
there is a JRE versiion and SDK verion of  1.6.0
build 1.6.0 is referred to as java 6.
you have the JRE version(Java(TM) SE Runtime Environment) or JRE
you need the SDK version
you should have a
jdk1.6.0_03
folder on your computer
standard install on a windows machine is
C:\Program Files\Java

http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index
there are two documents you need to read to install
http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide
and/or
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
to modify or customize ofbiz you need to become familar with
http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams


Brendan Vogt sent the following on 12/8/2007 5:38 AM:
> 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: skip@theDevers [mailto:skip@thedevers.org] 
> 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:brendan.vogt@gmail.com]
> 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
> 
> 
> 
> 
> 


RE: Build

Posted by Brendan Vogt <br...@gmail.com>.
I'm not familiar with the Java versions and releases but I downloaded the
newest when I downloaded it.  I have been running OFBiz on it.  If have not
done anything major in OFBiz yet, but I believe that nothing will go wrong.

Skip what web app are you working on?  Can I maybe view some of the sites
that you have done with OFBiz?


-----Original Message-----
From: skip@thedevers [mailto:skip@thedevers.org] 
Sent: Saturday, December 08, 2007 10:39 PM
To: user@ofbiz.apache.org
Subject: RE: Build

This is Java 6.  However, some folks report success with 1.6.

I had trouble with it that could be related to other issues.  Suggest you
give it a try.

Skip

-----Original Message-----
From: Brendan Vogt [mailto:brendan.vogt@gmail.com]
Sent: Saturday, December 08, 2007 5:39 AM
To: user@ofbiz.apache.org
Subject: RE: Build


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: skip@theDevers [mailto:skip@thedevers.org]
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:brendan.vogt@gmail.com]
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




RE: Build

Posted by "skip@thedevers" <sk...@thedevers.org>.
This is Java 6.  However, some folks report success with 1.6.

I had trouble with it that could be related to other issues.  Suggest you
give it a try.

Skip

-----Original Message-----
From: Brendan Vogt [mailto:brendan.vogt@gmail.com]
Sent: Saturday, December 08, 2007 5:39 AM
To: user@ofbiz.apache.org
Subject: RE: Build


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: skip@theDevers [mailto:skip@thedevers.org]
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:brendan.vogt@gmail.com]
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




RE: Build

Posted by Brendan Vogt <br...@gmail.com>.
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: skip@theDevers [mailto:skip@thedevers.org] 
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:brendan.vogt@gmail.com]
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



RE: Build

Posted by "skip@theDevers" <sk...@thedevers.org>.
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:brendan.vogt@gmail.com]
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