D9-Ed
March 6, 2018, 12:47pm
1
Enonic version: : Enonic XP 6.14.0
OS: Win10
Hi,
I have just started learning the application but am having a lot of trouble setting up the tutorial app found here: http://xp.readthedocs.io/en/stable/tutorials/my-first-app/initialize-project.html
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
ase
March 6, 2018, 1:07pm
2
Hi and congratulations with your first Enonic app!
What kind of error do you get? Can you copy-paste it here?
D9-Ed
March 6, 2018, 1:11pm
3
The error as described in the title, here is a screenshot:
aro
March 6, 2018, 1:21pm
4
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:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
1 Like
D9-Ed
March 6, 2018, 1:24pm
5
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!
2 Likes