Buld Failed Revision 915988

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

Buld Failed Revision 915988

Len Shein
Got the latest and in trying to build immediately got the following error
message:

 

BUILD FAILED

C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
while executing this line:

C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
occurred while executing this line:

C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
while executing this line:

C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler Adapter
'javac1.6' can't be found.

 

Does anyone know what the cause of this is?

 

 

Thank You

 

Len Shein

 

[hidden email]

[hidden email]

 

516.742.7888 ext.225

732.333.4303

 

Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

Jacques Le Roux
Administrator
I  see <<Compiler Adapter 'javac1.6' can't be found.>>

Do you use Sun Java 1.6 ?

Jacques

From: "Len Shein" <[hidden email]>

> Got the latest and in trying to build immediately got the following error
> message:
>
>
>
> BUILD FAILED
>
> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
> occurred while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler Adapter
> 'javac1.6' can't be found.
>
>
>
> Does anyone know what the cause of this is?
>
>
>
>
>
> Thank You
>
>
>
> Len Shein
>
>
>
> [hidden email]
>
> [hidden email]
>
>
>
> 516.742.7888 ext.225
>
> 732.333.4303
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Buld Failed Revision 915988

lshein
Yes 1.6.0_03 on Windows
I have 3 other projects running Ofbiz; just the latest build will not
compile, did I lose a setting somewhere?



-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: Wednesday, February 24, 2010 6:05 PM
To: [hidden email]
Subject: Re: Buld Failed Revision 915988

I  see <<Compiler Adapter 'javac1.6' can't be found.>>

Do you use Sun Java 1.6 ?

Jacques

From: "Len Shein" <[hidden email]>

> Got the latest and in trying to build immediately got the following error
> message:
>
>
>
> BUILD FAILED
>
> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
> occurred while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
Adapter

> 'javac1.6' can't be found.
>
>
>
> Does anyone know what the cause of this is?
>
>
>
>
>
> Thank You
>
>
>
> Len Shein
>
>
>
> [hidden email]
>
> [hidden email]
>
>
>
> 516.742.7888 ext.225
>
> 732.333.4303
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

Scott Gray-2
type:
java -version
and check what version is actually being used by the system.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 24/02/2010, at 6:13 PM, Len Shein wrote:

> Yes 1.6.0_03 on Windows
> I have 3 other projects running Ofbiz; just the latest build will not
> compile, did I lose a setting somewhere?
>
>
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Wednesday, February 24, 2010 6:05 PM
> To: [hidden email]
> Subject: Re: Buld Failed Revision 915988
>
> I  see <<Compiler Adapter 'javac1.6' can't be found.>>
>
> Do you use Sun Java 1.6 ?
>
> Jacques
>
> From: "Len Shein" <[hidden email]>
>> Got the latest and in trying to build immediately got the following error
>> message:
>>
>>
>>
>> BUILD FAILED
>>
>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
>> occurred while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
> Adapter
>> 'javac1.6' can't be found.
>>
>>
>>
>> Does anyone know what the cause of this is?
>>
>>
>>
>>
>>
>> Thank You
>>
>>
>>
>> Len Shein
>>
>>
>>
>> [hidden email]
>>
>> [hidden email]
>>
>>
>>
>> 516.742.7888 ext.225
>>
>> 732.333.4303
>>
>>
>>
>>
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Buld Failed Revision 915988

lshein
Java -version got the following results

Java version 1.6.0_17
Java SE Runtime Environment <build 1.6.0_17-b04>
Java Hotspot Client VM (build 14.3-b01, mixed mode, sharing>

Len


-----Original Message-----
From: Scott Gray [mailto:[hidden email]]
Sent: Wednesday, February 24, 2010 6:19 PM
To: [hidden email]
Subject: Re: Buld Failed Revision 915988

type:
java -version
and check what version is actually being used by the system.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 24/02/2010, at 6:13 PM, Len Shein wrote:

> Yes 1.6.0_03 on Windows
> I have 3 other projects running Ofbiz; just the latest build will not
> compile, did I lose a setting somewhere?
>
>
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Wednesday, February 24, 2010 6:05 PM
> To: [hidden email]
> Subject: Re: Buld Failed Revision 915988
>
> I  see <<Compiler Adapter 'javac1.6' can't be found.>>
>
> Do you use Sun Java 1.6 ?
>
> Jacques
>
> From: "Len Shein" <[hidden email]>
>> Got the latest and in trying to build immediately got the following error
>> message:
>>
>>
>>
>> BUILD FAILED
>>
>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
error

>> occurred while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
> Adapter
>> 'javac1.6' can't be found.
>>
>>
>>
>> Does anyone know what the cause of this is?
>>
>>
>>
>>
>>
>> Thank You
>>
>>
>>
>> Len Shein
>>
>>
>>
>> [hidden email]
>>
>> [hidden email]
>>
>>
>>
>> 516.742.7888 ext.225
>>
>> 732.333.4303
>>
>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

BJ Freeman
In reply to this post by Len Shein
just did a successful build on 91605

Len Shein sent the following on 2/24/2010 3:00 PM:

> Got the latest and in trying to build immediately got the following error
> message:
>
>  
>
> BUILD FAILED
>
> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
> occurred while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
> while executing this line:
>
> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler Adapter
> 'javac1.6' can't be found.
>
>  
>
> Does anyone know what the cause of this is?
>
>  
>
>  
>
> Thank You
>
>  
>
> Len Shein
>
>  
>
> [hidden email]
>
> [hidden email]
>
>  
>
> 516.742.7888 ext.225
>
> 732.333.4303
>
>  
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

lshein
I get that version, did something change?

Do you have any idea why the build could not find the java compiler?

Quoting BJ Freeman <[hidden email]>:

> just did a successful build on 91605
>
> Len Shein sent the following on 2/24/2010 3:00 PM:
>> Got the latest and in trying to build immediately got the following error
>> message:
>>
>>
>>
>> BUILD FAILED
>>
>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error
>> occurred while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>> while executing this line:
>>
>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler Adapter
>> 'javac1.6' can't be found.
>>
>>
>>
>> Does anyone know what the cause of this is?
>>
>>
>>
>>
>>
>> Thank You
>>
>>
>>
>> Len Shein
>>
>>
>>
>> [hidden email]
>>
>> [hidden email]
>>
>>
>>
>> 516.742.7888 ext.225
>>
>> 732.333.4303
>>
>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

Adrian Crum
In reply to this post by lshein
Do you have the JDK or just the JRE?

-Adrian

Len Shein wrote:

> Java -version got the following results
>
> Java version 1.6.0_17
> Java SE Runtime Environment <build 1.6.0_17-b04>
> Java Hotspot Client VM (build 14.3-b01, mixed mode, sharing>
>
> Len
>
>
> -----Original Message-----
> From: Scott Gray [mailto:[hidden email]]
> Sent: Wednesday, February 24, 2010 6:19 PM
> To: [hidden email]
> Subject: Re: Buld Failed Revision 915988
>
> type:
> java -version
> and check what version is actually being used by the system.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 24/02/2010, at 6:13 PM, Len Shein wrote:
>
>> Yes 1.6.0_03 on Windows
>> I have 3 other projects running Ofbiz; just the latest build will not
>> compile, did I lose a setting somewhere?
>>
>>
>>
>> -----Original Message-----
>> From: Jacques Le Roux [mailto:[hidden email]]
>> Sent: Wednesday, February 24, 2010 6:05 PM
>> To: [hidden email]
>> Subject: Re: Buld Failed Revision 915988
>>
>> I  see <<Compiler Adapter 'javac1.6' can't be found.>>
>>
>> Do you use Sun Java 1.6 ?
>>
>> Jacques
>>
>> From: "Len Shein" <[hidden email]>
>>> Got the latest and in trying to build immediately got the following error
>>> message:
>>>
>>>
>>>
>>> BUILD FAILED
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>>> while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
> error
>>> occurred while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>>> while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
>> Adapter
>>> 'javac1.6' can't be found.
>>>
>>>
>>>
>>> Does anyone know what the cause of this is?
>>>
>>>
>>>
>>>
>>>
>>> Thank You
>>>
>>>
>>>
>>> Len Shein
>>>
>>>
>>>
>>> [hidden email]
>>>
>>> [hidden email]
>>>
>>>
>>>
>>> 516.742.7888 ext.225
>>>
>>> 732.333.4303
>>>
>>>
>>>
>>>
>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

David E. Jones-2

Also, do you have a JAVA_HOME or similar environment variable? If so, ant will use that...

-David


On Feb 24, 2010, at 5:21 PM, Adrian Crum wrote:

> Do you have the JDK or just the JRE?
>
> -Adrian
>
> Len Shein wrote:
>> Java -version got the following results
>> Java version 1.6.0_17
>> Java SE Runtime Environment <build 1.6.0_17-b04>
>> Java Hotspot Client VM (build 14.3-b01, mixed mode, sharing>
>> Len
>> -----Original Message-----
>> From: Scott Gray [mailto:[hidden email]] Sent: Wednesday, February 24, 2010 6:19 PM
>> To: [hidden email]
>> Subject: Re: Buld Failed Revision 915988
>> type:
>> java -version
>> and check what version is actually being used by the system.
>> Regards
>> Scott
>> HotWax Media
>> http://www.hotwaxmedia.com
>> On 24/02/2010, at 6:13 PM, Len Shein wrote:
>>> Yes 1.6.0_03 on Windows I have 3 other projects running Ofbiz; just the latest build will not
>>> compile, did I lose a setting somewhere?
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Jacques Le Roux [mailto:[hidden email]] Sent: Wednesday, February 24, 2010 6:05 PM
>>> To: [hidden email]
>>> Subject: Re: Buld Failed Revision 915988
>>>
>>> I  see <<Compiler Adapter 'javac1.6' can't be found.>>
>>>
>>> Do you use Sun Java 1.6 ?
>>>
>>> Jacques
>>>
>>> From: "Len Shein" <[hidden email]>
>>>> Got the latest and in trying to build immediately got the following error
>>>> message:
>>>>
>>>>
>>>>
>>>> BUILD FAILED
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>>>> while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
>> error
>>>> occurred while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>>>> while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
>>> Adapter
>>>> 'javac1.6' can't be found.
>>>>
>>>>
>>>>
>>>> Does anyone know what the cause of this is?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thank You
>>>>
>>>>
>>>>
>>>> Len Shein
>>>>
>>>>
>>>>
>>>> [hidden email]
>>>>
>>>> [hidden email]
>>>>
>>>>
>>>>
>>>> 516.742.7888 ext.225
>>>>
>>>> 732.333.4303
>>>>
>>>>
>>>>
>>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

lshein
I do not have JAVA_HOME var set and I have both the jdk and the jre.

I am running in eclipse: If I am understanding correctly the build is  
finding a lesser version of the java compiler than 1.6 which is  
causing the error? is that correct?


Quoting David E Jones <[hidden email]>:

>
> Also, do you have a JAVA_HOME or similar environment variable? If  
> so, ant will use that...
>
> -David
>
>
> On Feb 24, 2010, at 5:21 PM, Adrian Crum wrote:
>
>> Do you have the JDK or just the JRE?
>>
>> -Adrian
>>
>> Len Shein wrote:
>>> Java -version got the following results
>>> Java version 1.6.0_17
>>> Java SE Runtime Environment <build 1.6.0_17-b04>
>>> Java Hotspot Client VM (build 14.3-b01, mixed mode, sharing>
>>> Len
>>> -----Original Message-----
>>> From: Scott Gray [mailto:[hidden email]] Sent:  
>>> Wednesday, February 24, 2010 6:19 PM
>>> To: [hidden email]
>>> Subject: Re: Buld Failed Revision 915988
>>> type:
>>> java -version
>>> and check what version is actually being used by the system.
>>> Regards
>>> Scott
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> On 24/02/2010, at 6:13 PM, Len Shein wrote:
>>>> Yes 1.6.0_03 on Windows I have 3 other projects running Ofbiz;  
>>>> just the latest build will not
>>>> compile, did I lose a setting somewhere?
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Jacques Le Roux [mailto:[hidden email]] Sent:  
>>>> Wednesday, February 24, 2010 6:05 PM
>>>> To: [hidden email]
>>>> Subject: Re: Buld Failed Revision 915988
>>>>
>>>> I  see <<Compiler Adapter 'javac1.6' can't be found.>>
>>>>
>>>> Do you use Sun Java 1.6 ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Len Shein" <[hidden email]>
>>>>> Got the latest and in trying to build immediately got the following error
>>>>> message:
>>>>>
>>>>>
>>>>>
>>>>> BUILD FAILED
>>>>>
>>>>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred
>>>>> while executing this line:
>>>>>
>>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
>>> error
>>>>> occurred while executing this line:
>>>>>
>>>>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred
>>>>> while executing this line:
>>>>>
>>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
>>>> Adapter
>>>>> 'javac1.6' can't be found.
>>>>>
>>>>>
>>>>>
>>>>> Does anyone know what the cause of this is?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thank You
>>>>>
>>>>>
>>>>>
>>>>> Len Shein
>>>>>
>>>>>
>>>>>
>>>>> [hidden email]
>>>>>
>>>>> [hidden email]
>>>>>
>>>>>
>>>>>
>>>>> 516.742.7888 ext.225
>>>>>
>>>>> 732.333.4303
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

BJ Freeman
In reply to this post by BJ Freeman
I have mulitple java JDK on my machine.
so I modified ant.bat to myant.bat

:"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.0.jar
%1 %2 %3 %4 %5 %6


\jsdk\jdk1.6.0_18\bin\java -jar
framework/base/lib/ant-launcher-1.7.1.jar %1 %2 %3 %4 %5 %6



[hidden email] sent the following on 2/24/2010 4:15 PM:

> I get that version, did something change?
>
> Do you have any idea why the build could not find the java compiler?
>
> Quoting BJ Freeman <[hidden email]>:
>
>> just did a successful build on 91605
>>
>> Len Shein sent the following on 2/24/2010 3:00 PM:
>>> Got the latest and in trying to build immediately got the following
>>> error
>>> message:
>>>
>>>
>>>
>>> BUILD FAILED
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error
>>> occurred
>>> while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
>>> error
>>> occurred while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error
>>> occurred
>>> while executing this line:
>>>
>>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
>>> Adapter
>>> 'javac1.6' can't be found.
>>>
>>>
>>>
>>> Does anyone know what the cause of this is?
>>>
>>>
>>>
>>>
>>>
>>> Thank You
>>>
>>>
>>>
>>> Len Shein
>>>
>>>
>>>
>>> [hidden email]
>>>
>>> [hidden email]
>>>
>>>
>>>
>>> 516.742.7888 ext.225
>>>
>>> 732.333.4303
>>>
>>>
>>>
>>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Buld Failed Revision 915988

lshein

I do as well; this makes sense I'll give modifying the ant.bat a try.

Quoting BJ Freeman <[hidden email]>:

> I have mulitple java JDK on my machine.
> so I modified ant.bat to myant.bat
>
> :"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.0.jar
> %1 %2 %3 %4 %5 %6
>
>
> \jsdk\jdk1.6.0_18\bin\java -jar
> framework/base/lib/ant-launcher-1.7.1.jar %1 %2 %3 %4 %5 %6
>
>
>
> [hidden email] sent the following on 2/24/2010 4:15 PM:
>> I get that version, did something change?
>>
>> Do you have any idea why the build could not find the java compiler?
>>
>> Quoting BJ Freeman <[hidden email]>:
>>
>>> just did a successful build on 91605
>>>
>>> Len Shein sent the following on 2/24/2010 3:00 PM:
>>>> Got the latest and in trying to build immediately got the following
>>>> error
>>>> message:
>>>>
>>>>
>>>>
>>>> BUILD FAILED
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error
>>>> occurred
>>>> while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following
>>>> error
>>>> occurred while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error
>>>> occurred
>>>> while executing this line:
>>>>
>>>> C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler
>>>> Adapter
>>>> 'javac1.6' can't be found.
>>>>
>>>>
>>>>
>>>> Does anyone know what the cause of this is?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thank You
>>>>
>>>>
>>>>
>>>> Len Shein
>>>>
>>>>
>>>>
>>>> [hidden email]
>>>>
>>>> [hidden email]
>>>>
>>>>
>>>>
>>>> 516.742.7888 ext.225
>>>>
>>>> 732.333.4303
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>