Gradle Error With JDK 10 on Win 10
See original GitHub issueOn my first run of asciidoctor-fopub, under Windows 10 with JDK 10.0.2 I got the following error:
Initializing application...
Downloading http://services.gradle.org/distributions/gradle-2.8-bin.zip
[ ... ]
Unzipping C:\Users\MYNAME\.gradle\wrapper\dists\gradle-2.8-bin\6b804shgjemjgh821qgf318li1\gradle-2.8-bin.zip to C:\Users\MYNAME\.gradle\wrapper\dists\gradle-2.8-bin\6b804shgjemjgh821qgf318li1
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
Any clues?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Issues with Gradle on Windows 10 - Help/Discuss
Hi! I'm having a bit of a hardtime installing Gradle on my Windows 10 laptop. I've unziped the Gradle 4.2.1 zip to 'C:\Gradle'....
Read more >Gradle build issue on windows 10: Could not determine java ...
I have cloned a github project which uses gradle for build. In my windows 10 system, I have installed gradle 6.8 and java...
Read more >gradle fails to detect Java version as of jdk-10-ea+36 #3849
Unpack jdk-10 in some directory, and set JAVA_HOME to that directory. ... :test (Thread[Task worker for ':',5,main]) completed. Took 0.069 secs.
Read more >Known issues with Android Studio and Android Gradle Plugin
To fix the issue for the current project, click Run > Edit Configurations and change the default JUnit configuration to only include the...
Read more >Unable to create/use Gradle Managed Virtual Device on ...
IllegalStateException: Gradle was not able to complete device setup for: ... JDK) OS: Windows 10 Pro / Version 21H1 / OS build 19043.2006 ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I can imagine, Asciidoctor is such a huge project, interacting with so many other tools and standards that keeping it always up to date with those evolving standards must be a huge task; and then there are all the Asciidoctor-related tools (like this one, and the various editor packages, like Sublime Asciidoctor, ecc.).
I admire your work, and are really greateful to your for it, for I’ve been following Asciidoctor development in the course of the last four years. I can barely believe that you manage to keep all the pieces of such a complex picture together — for me, just learning to use Asciidoctor forced me to study various standards (DocBook, ERB templates, ecc.), and I only digged into what I need for my personal work.
But having to keep up with all these standards, dependencies, etc., … it must be quite a challenge (surely, not one for the faint of heart).
I wish I could help more here, but DocBook, XSL, FOP and Gradle are beyond my competence in terms of maintainance.
As mentioned in #88, it now seems fixed for I’ve manged to run gradle succesfuly with Java JDK 12!