Updated: May 9, 2020
With this blog we will explain about the options in command line installtion of AEM
AEM Installation command line
For a 32-bit Java VM
java -Xmx1024M -jar cq-quickstart-6.4.0.jar
For a 64-bit VM
java -XX:MaxPermSize=256m -Xmx1024M -jar cq-quickstart-6.4.0.jar
install these two instances in, for example
command-line scripts are located here:
This can be used to start and stops the AEM if it is installed before.
This folder contains the following Unix bash shell scripts:
start: Starts the instance
stop: Stops the instance
status: Reports the Status of the instance
quickstart: Used to configure start information, if necessary.
To Start AEM:
Windows: SET CQ_PORT=1234 & ./start.bat
Unix: CQ_PORT=1234 ./start
To stop AEM:
If you started AEM from either a script or the command line, press Ctrl+C to shut down the server.
If you have used the start script on UNIX, you must use the stop script to stop AEM.
To stop AEM using command line (<cq-installation>/bin directory.):
Redefining the location of the temporary work directory
The default location of the temporary folder of the java machine is /tmp. AEM uses this folder too, for example when building packages.
If you want to change the location of the temporary folder (for example, if you need a directory with more free space) then define a <new-tmp-path> by adding the JVM parameter:
the server startup command line
the CQ_JVM_OPTS environment parameter in the serverctl or start script.