Build

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

Build

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

Re: Build

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

RE: Build

SkipDever
In reply to this post by Brendan Vogt
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

RE: Build

Brendan Vogt
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:[hidden email]]
Sent: Saturday, October 20, 2007 7:43 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

Re: Build

v. sunder anand
    Java version clearly tell that it is java 1.6 (called as java 6)
 
-----Original Message-----
From: "Brendan Vogt" <[hidden email]>

Date: Sat, 8 Dec 2007 15:38:43
To:<[hidden email]>
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:[hidden email]]
Sent: Saturday, October 20, 2007 7:43 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

RE: Build

Brendan Vogt
And why is this not supposed to be used with OFBiz??


-----Original Message-----
From: v. sunder anand [mailto:[hidden email]]
Sent: Saturday, December 08, 2007 3:42 PM
To: [hidden email]
Subject: Re: Build

    Java version clearly tell that it is java 1.6 (called as java 6)
 
-----Original Message-----
From: "Brendan Vogt" <[hidden email]>

Date: Sat, 8 Dec 2007 15:38:43
To:<[hidden email]>
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:[hidden email]]
Sent: Saturday, October 20, 2007 7:43 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

Re: Build

rajsaini
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:[hidden email]]
> Sent: Saturday, December 08, 2007 3:42 PM
> To: [hidden email]
> Subject: Re: Build
>
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <[hidden email]>
>
> Date: Sat, 8 Dec 2007 15:38:43
> To:<[hidden email]>
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 7:43 PM
> To: [hidden email]
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 8:50 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: Build

Jacques Le Roux
Administrator
In reply to this post by Brendan Vogt
AFAIK, there are no problems with 1.6.

Jacques

De : "Brendan Vogt" <[hidden email]>

> And why is this not supposed to be used with OFBiz??
>
>
> -----Original Message-----
> From: v. sunder anand [mailto:[hidden email]]
> Sent: Saturday, December 08, 2007 3:42 PM
> To: [hidden email]
> Subject: Re: Build
>
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <[hidden email]>
>
> Date: Sat, 8 Dec 2007 15:38:43
> To:<[hidden email]>
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 7:43 PM
> To: [hidden email]
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 8:50 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

RE: Build

Brendan Vogt
AFAIK??



-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: Saturday, December 08, 2007 4:12 PM
To: [hidden email]
Subject: Re: Build

AFAIK, there are no problems with 1.6.

Jacques

De : "Brendan Vogt" <[hidden email]>

> And why is this not supposed to be used with OFBiz??
>
>
> -----Original Message-----
> From: v. sunder anand [mailto:[hidden email]]
> Sent: Saturday, December 08, 2007 3:42 PM
> To: [hidden email]
> Subject: Re: Build
>
>     Java version clearly tell that it is java 1.6 (called as java 6)
>  
> -----Original Message-----
> From: "Brendan Vogt" <[hidden email]>
>
> Date: Sat, 8 Dec 2007 15:38:43
> To:<[hidden email]>
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 7:43 PM
> To: [hidden email]
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 8:50 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: Build

rajsaini
As Far As I Know

Brendan Vogt wrote:

> AFAIK??
>
>
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Saturday, December 08, 2007 4:12 PM
> To: [hidden email]
> Subject: Re: Build
>
> AFAIK, there are no problems with 1.6.
>
> Jacques
>
> De : "Brendan Vogt" <[hidden email]>
>  
>> And why is this not supposed to be used with OFBiz??
>>
>>
>> -----Original Message-----
>> From: v. sunder anand [mailto:[hidden email]]
>> Sent: Saturday, December 08, 2007 3:42 PM
>> To: [hidden email]
>> Subject: Re: Build
>>
>>     Java version clearly tell that it is java 1.6 (called as java 6)
>>  
>> -----Original Message-----
>> From: "Brendan Vogt" <[hidden email]>
>>
>> Date: Sat, 8 Dec 2007 15:38:43
>> To:<[hidden email]>
>> 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:[hidden email]]
>> Sent: Saturday, October 20, 2007 7:43 PM
>> To: [hidden email]
>> 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:[hidden email]]
>> Sent: Saturday, October 20, 2007 8:50 AM
>> To: [hidden email]
>> 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 | Threaded
Open this post in threaded view
|

Re: Build

BJ Freeman
In reply to this post by Brendan Vogt
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:[hidden email]]
> Sent: Saturday, October 20, 2007 7:43 PM
> To: [hidden email]
> 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:[hidden email]]
> Sent: Saturday, October 20, 2007 8:50 AM
> To: [hidden email]
> 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 | Threaded
Open this post in threaded view
|

RE: Build

SkipDever
In reply to this post by Brendan Vogt
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:[hidden email]]
Sent: Saturday, December 08, 2007 5:39 AM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 7:43 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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 | Threaded
Open this post in threaded view
|

RE: Build

Brendan Vogt
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:[hidden email]]
Sent: Saturday, December 08, 2007 10:39 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, December 08, 2007 5:39 AM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 7:43 PM
To: [hidden email]
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:[hidden email]]
Sent: Saturday, October 20, 2007 8:50 AM
To: [hidden email]
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