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

Could not determine java version from '10.0.2'. #2

Open
KrulRose opened this issue Sep 3, 2018 · 1 comment
Open

Could not determine java version from '10.0.2'. #2

KrulRose opened this issue Sep 3, 2018 · 1 comment

Comments

@KrulRose
Copy link

KrulRose commented Sep 3, 2018

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from '10.0.2'.

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

Press any key to continue . . .

@rathelor
Copy link

FAILURE: Build failed with an exception.

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

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

Press any key to continue . . .

I had the same issue with 11.0.1.
Change the "distributionUrl" in gradle-wrapper.properties to "https://services.gradle.org/distributions/gradle-4.10.2-all.zip" and "ext.kotlin" in build.gradle to "'1.3.10'".
After these, the compilation started, but it had problems with undefined references to javafx (probably something with the javafx decoupling in JDK11).

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

No branches or pull requests

2 participants