Abstract
Bonjour les amis ! So far in this development series we tried to answer following questions -
What is AEM?
Why do we need AEM?
What are the building blocks of AEM?
… and a few more.
In this post, we will setup a development environment for AEM and discuss in detail about a general AEM project structure. So, without wasting any time, let’s do it.
Prerequisites
Java 8 or 11 (for AEM 6.5)
Since AEM runs as a Java application, JDK should be installed in our local system. Read this official documentation for installing Java. This document is for Java 11 but steps should be similar to Java 8.
Once you have installed Java, open command prompt in your system and execute the following command
java -version
If you have installed Java correctly, the output should show your installed Java version something like this -
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
Maven 3.3.9 or higher
Maven is a build tool which is needed to compile Java based projects. The AEM project we are going to create will also be a Java based project, therefore, having maven installed in your system is a must. Read this official documentation for the steps to install maven in your local system.
Once you have installed maven, execute following command in the commad prompt
mvn -version
If the installation was correct, you should see your installed maven version something like this -
Apache Maven 3.6.3
Maven home: D:\Apps\apache-maven-3.6.3\bin\..
Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_241\jre
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Read Full Blog
Q&A
Please use this thread to ask the related questions.
Kautuk Sahni