I've run into a build compilation problem that I cannot reproduce with command line:
An exception has occurred in the compiler (1.6.0_20)
I realized my cli java version:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
is different from the one used by my local agent ('java -version' run through a command line build)
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~9.10.1)
OpenJDK Server VM (build 19.0-b09, mixed mode)
I run buildAgent with the same root user (afaik) I tried the 'java -version' with.
How can they be different? I don't understand where the buildAgent find this version.
Thanks for your help.
Teamcity 6.0.1 on Ubuntu 9.04