Installing the Enonic XP Development Environment
Quickly get the Enonic XP Developer Environment running on Windows, Mac or Linux!
If you experience problems, check out the Troubleshooting section.
|This guide is also availalable as a video. Watch the video below, or continue reading:|
|To run Enonic XP in development mode, you need the Java Development Kit (JDK) 1.8.92 JDK or newer installed. NB! XP currently dos not support Java 1.9.|
If you are unsure what JDK version you have (or even if you have one), run the following in your terminal/shell:
This should produce a response such as:
Having problems with your existing Java installation? Check out our troubleshooting section
If it turns out you’re on the wrong Java version, or missing it completely, follow these steps:
Visit this page to get the latest JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept the License Agreement
Select the distribution that fits your operating system
Install JDK by following the instructions
Enonic XP is available in a simple universal distribution file - supporting all platforms (Windows, Linux, MacOS etc)
Download Enonic XP from https://enonic.com/downloads (Choose developer distribution). Here you can also find information about the latest release.
Unzip the file to a suitable location
Alternatively run the command-line version (MacOS/Linux only), replace <release> with the version you want i.e.
curl -O http://repo.enonic.com/public/com/enonic/xp/distro/<version>/distro-<release>.zip unzip distro-<release>.zip
Run the respective commands to start the server:
Windows users can run
When successfully started, the following will appear at the end of the log:
12:53:14.302 INFO c.e.x.l.framework.FrameworkService - Started Enonic XP in **** ms
Your server should now be available on http://localhost:8080
Log into the admin console with username:
Verify that you comply with the minimum requirements for running XP on your local machine