Installing mlcp
After downloading mlcp, follow these instructions to install mlcp:
Download mlcp from https://developer.marklogic.com/products/mlcp/.
Unpack the mlcp distribution to a location of your choice. This creates a directory named
mlcp-
version, where version is the mlcp version. For example, assuming/space/marklogic
contains zip file for mlcp version 1.3, then the following commands install mlcp under/space/marklogic/mlcp-1.3/
:$ cd /space/marklogic $ unzip mlcp-1.3-bin.zip
Optionally, put the mlcp bin directory on your path. For example:
$ export PATH=${PATH}:/space/marklogic/mlcp-1.3/bin
Put the
java
command on your path. For example:$ export PATH=${PATH}:$JAVA_HOME/bin
You might need to configure your MarkLogic cluster before using mlcp for the first time. For details, see Configuring Your MarkLogic Cluster.
On Windows, use the mlcp.bat
command to run mlcp. On UNIX and Linux, use the mlcp.sh
command. You should not use mlcp.sh
in the Cygwin shell environment on Windows.