You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by sebb <se...@gmail.com> on 2011/11/29 20:16:12 UTC

Re: Build failed in Jenkins: HttpComponents AsyncClient » HttpAsyncClient #154

This appears to be due to the use of the "Default" Java compiler -
does not seem to be defined on ubuntu2.

Since the code is targetted at 1.5, I've changed the job to require
that instead.

On 29 November 2011 18:22, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> See <https://builds.apache.org/job/HttpComponents%20AsyncClient/org.apache.httpcomponents$httpasyncclient/154/>
>
> ------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Building HttpAsyncClient
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting <https://builds.apache.org/job/HttpComponents%20AsyncClient/org.apache.httpcomponents$httpasyncclient/ws/target>
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Change the default 'svn' provider implementation to 'javasvn'.
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Storing buildNumber: 1197311 at timestamp: 1322590968790
> [INFO] Storing buildScmBranch: trunk
> [INFO] [notice:generate {execution: attach-notice-license}]
> [INFO] Generating NOTICE and LICENSE resources
> [debug] execute contextualize
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 35 source files to <https://builds.apache.org/job/HttpComponents%20AsyncClient/org.apache.httpcomponents$httpasyncclient/ws/target/classes>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] Unable to locate the Javac Compiler in:
>  /usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar
> Please ensure you are using JDK 1.4 or above and
> not a JRE (the com.sun.tools.javac.Main class is required).
> In most cases you can change the location of your Java
> installation by setting the JAVA_HOME environment variable.
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [JENKINS] Archiving <https://builds.apache.org/job/HttpComponents%20AsyncClient/org.apache.httpcomponents$httpasyncclient/ws/pom.xml> to /home/hudson/hudson/jobs/HttpComponents AsyncClient/modules/org.apache.httpcomponents$httpasyncclient/builds/2011-11-29_18-22-01/archive/org.apache.httpcomponents/httpasyncclient/4.0-alpha4-SNAPSHOT/httpasyncclient-4.0-alpha4-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> Unable to locate the Javac Compiler in:
>  /usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar
> Please ensure you are using JDK 1.4 or above and
> not a JRE (the com.sun.tools.javac.Main class is required).
> In most cases you can change the location of your Java
> installation by setting the JAVA_HOME environment variable.
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Tue Nov 29 18:22:50 UTC 2011
> [INFO] Final Memory: 52M/498M
> [INFO] ------------------------------------------------------------------------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org