Skip to content

Unable to provision Temurin JDK8 #93

@johnjaylward

Description

@johnjaylward

I'm trying to run a gradle build using docker image eclipse-temurin:11-jdk-alpine

I get the following error during the provisiong process

FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':project:compileJava'.
> Could not resolve all dependencies for configuration ':project:compileClasspath'.
   > Failed to calculate the value of task ':project:compileJava' property 'javaCompiler'.
      > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=Eclipse Temurin, implementation=vendor-specific} for LINUX on x86_64.
         > No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements ({languageVersion=8, vendor=Eclipse Temurin, implementation=vendor-specific}) from 'https://api.foojay.io/disco/v3.0/ids/ac4c40cdd772fae20f1758b6fd9ac1d6/redirect', due to: Unpacked JDK archive does not contain a Java home: /root/.gradle/.tmp/jdks/OpenJDK8U-jdk_x64_linux_hotspot_8u442b0613882921797832945044.tmp).

I'm unsure what the error means. When I download the file from https://api.foojay.io/disco/v3.0/ids/ac4c40cdd772fae20f1758b6fd9ac1d6/redirect and extract it, the structure looks correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions