Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

Balazs Peak
Balazs Peak
46,160 Points

Local Code Challenge not working at all

I've completed several of these challenges so far, more or less seamlessly, but this is one I just can't make work.

I can't even run or build the project to see how it should work. I can't see the Gradle tasks on the right side either.

When I try to build this is the message:

FAILURE: Build failed with an exception.

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

1 Answer

Go to Gradle - wrapper - gradle-wrapper.properties change the Url distribution link to this for example, distributionUrl=https://services.gradle.org/distributions/gradle-4.3.1-all.zip We must update the gradle version to the most recent one.