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

gradlew does not work with JDK11 or 14 #154

Open
DFrenkel opened this issue Jun 24, 2020 · 2 comments
Open

gradlew does not work with JDK11 or 14 #154

DFrenkel opened this issue Jun 24, 2020 · 2 comments
Labels
type: question Request for information or clarification. Not an issue.

Comments

@DFrenkel
Copy link
Contributor

Environment details

  • OS: Mac OS (same results on Linux with latest OpenJDK or with OpenJDK 11)
  • Java version:
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)

or

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10)
OpenJDK 64-Bit Server VM (build 11.0.7+10, mixed mode)

Steps to reproduce

  1. git clone https://github.com/googleapis/discovery-artifact-manager.git
  2. cd discovery-artifact-manager/toolkit
  3. ./gradlew test
Expected

All tests pass

Actual
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '14.0.1'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Workaround

Switching to older JDK8

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Jun 25, 2020
@dazuma dazuma added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Jul 15, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Oct 13, 2020
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Dec 21, 2020
@dazuma
Copy link
Member

dazuma commented Dec 22, 2020

@DFrenkel This repo is not really being maintained regularly, and most functionality has been migrated elsewhere. What are you trying to do here?

@dazuma dazuma added type: question Request for information or clarification. Not an issue. and removed 🚨 This issue needs some love. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 22, 2020
@DFrenkel
Copy link
Contributor Author

I am trying to test auto-generation some of the code snippets for Google APIs as shown in this PR but on a newer JDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants