Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Examples by Updating to Gradle 7.5.1 and Java 11 #362

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Fixed Examples by Updating to Gradle 7.5.1 and Java 11 #362

merged 1 commit into from
Oct 12, 2022

Conversation

handstandsam
Copy link
Contributor

Updated to Gradle 7.5.1 and Java 11.

I was trying this repo out for the first time and was having issues running the installDist task with Java 8 on my ARM based M1 Mac. These updates fixed it.

I'm using the following JDK with java --version:

openjdk 11.0.15 2022-04-19 LTS
OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.56+19-CA (build 11.0.15+10-LTS, mixed mode)

Original Issue before these changes:

* What went wrong:
Could not determine the dependencies of task ':server:distTar'.
> Could not resolve all dependencies for configuration ':server:runtimeClasspath'.
   > Failed to calculate the value of task ':server:compileJava' property 'javaCompiler'.
      > Unable to download toolchain matching these requirements: {languageVersion=8, vendor=any, implementation=vendor-specific}
         > Unable to download toolchain. This might indicate that the combination (version, architecture, release/early access, ...) for the requested JDK is not available.
            > Could not read 'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/mac/aarch64/jdk/hotspot/normal/adoptopenjdk' as it does not exist.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 12, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: handstandsam / name: Sam Edwards (ea89449)

@jamesward jamesward self-requested a review October 12, 2022 14:24
…`installDist` task with Java 8 on my ARM based M1 Mac.
@handstandsam
Copy link
Contributor Author

@jamesward thanks for volunteering to review 😂 - I just signed the CLA.

@jamesward
Copy link
Collaborator

Thank you for maintaining our samples!

@jamesward jamesward merged commit ae7a239 into grpc:master Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants