Error when using ./gradlew deploy for tutorial "Could not determine java version from '9.0.4'."

Enonic version:: Enonic XP 6.14.0
OS: Win10

I have just started learning the application but am having a lot of trouble setting up the tutorial app found here:

I have initialised it correctly and have this as the file structure:

But when I do to the next step using: ./gradlew deploy I get the error.

Any idea on how to correct the error? Cheers

Hi and congratulations with your first Enonic app! :slight_smile:

What kind of error do you get? Can you copy-paste it here?

The error as described in the title, here is a screenshot:

Looks like you have Java 9 installed, which is not supported yet. The error message is a bit confusing, we will try to improve that.

You should download and install Java JDK 8 to run XP.

Select the operating system that applies in this page:

1 Like

Ahh see here I was looking to try and update gradle and everything else when I should have just rolled back a java version. Thanks for the really quick reply appreciate it!