Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] Erroneous JDK used on master Jenkins

this may be related to the changes done for https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471


we now let JDT find the bootclasspath based on JDK home (before we were scanning for jars in Tycho code)

In case you are using useJDK=BREE, did you try removing the /jre at the end of the JDK location(s) in toolchains.xml ?

Looks like this is an incompatible change, but I think it's still for the better as it's now consistent with what JDT and other maven plugins using toolchains expect to be the JDK home path.

Regards,
Jan



On 19.12.17, 09:13, "platform-releng-dev-bounces@xxxxxxxxxxx on behalf of Mickael Istria" <platform-releng-dev-bounces@xxxxxxxxxxx on behalf of mistria@xxxxxxxxxx> wrote:

    Hi,
    
    
    When building on Jenkins master, we always see the following message from inside Maven:
    [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
    [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.1.0-SNAPSHOT:compile (default-compile) on project org.eclipse.core.filesystem: Fatal error compiling
    [DEBUG] Closing connection to remote
    [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.1.0-SNAPSHOT:compile (default-compile) on project org.eclipse.core.filesystem: Fatal error compiling: java.lang.reflect.InvocationTargetException: invalid location for system libraries: /opt/public/common/jdk1.8.0_x64-latest/jre -> [Help 1]
    Maven manages to start well, so it seems like the default JDK for the job is fine, but later, the one used by Tycho seems non-existent.
    Is this something that we can/should fix from the job configuration?
    
    -- 
    Mickael Istria
    
    Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/> developer, at
    Red Hat Developers <https://developers.redhat.com/> community
    Elected Committer Representative at the 
    Eclipse Foundation <https://www.eclipse.org/org/> board of directors
    
    
    
    
    
    
    
    
    


Back to the top