printenv is showing me these, which seem odd:

JAVA_HOME=/usr
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
JDK_HOME=/etc/java-config-2/current-system-vm

I still think somehow ant is running in a JVM that is not compatible with 
javac.  The above seem highly suspicious.  I don't have any such settings on my 
machine.

On 2011-02-04, at 17:35, Fred Ellenberger wrote:

> Build script is echoing JAVA_HOME=/usr so it looks consistent.  Any other 
> ideas?
> 
> [svnbuild@linux-builder logs 14:32:23]$*java -version*
> java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
> [svnbuild@linux-builder logs 14:32:25]$ *which java*
> /usr/bin/java
> [svnbuild@linux-builder logs 14:32:29]$
> 
> 
> On 2/4/2011 2:14 PM, P T Withington wrote:
>> Google implies this is because JAVA_HOME is not pointing to the same VM that 
>> is running ant.
>> 
>> Seems like something is skewing the env vars on the build machines.
>> 
>> On 2011-02-04, at 17:09, Fred Ellenberger wrote:
>> 
>>> BUILD FAILED
>>> /home/svnbuild/src/svn/tools/trunk/build-tools/nightly/build.xml:195: The 
>>> following error occurred while executing this line:
>>> /home/svnbuild/builds/18408-openlaszlo-trunk/build.xml:611: The following 
>>> error occurred while executing this line:
>>> */home/svnbuild/builds/18408-openlaszlo-trunk/WEB-INF/lps/server/build.xml:306:
>>>  Error starting modern compiler*
>>> 
>>> Total time: 4 minutes 34 seconds
>>> 
>>> 
>>> -------- Original Message --------
>>> Subject:    [Laszlo-builds] FAILED OpenLaszlo Build: 18408-openlaszlo-trunk
>>> Date:       Fri, 4 Feb 2011 13:57:43 -0800
>>> From:       [email protected]
>>> Reply-To:   [email protected]
>>> To:         [email protected]
>>> 
>>> 
>>> 
>>> linux-builder.corp.laszlosystems.com has reported that this build has 
>>> FAILED! Please review the following:
>>> 
>>> Tailed (last 200 lines) Build Log :
>>> http://linux-builder.corp.laszlosystems.com/buildlogs/tail-18408-trunk-nightly.log
>>> 
>>> Full Build Log :
>>> http://linux-builder.corp.laszlosystems.com/buildlogs/18408-trunk-nightly.log
>>> 
>>> Build return code 1 on linux-builder.corp.laszlosystems.com, Deploy return 
>>> code -1, Megatest , -1
>>> 
>>> Regards,
>>> Release Management
>>> 
>>> _______________________________________________
>>> Laszlo-builds mailing list
>>> [email protected]
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-builds
>>> 
> 


Reply via email to