Setting Up Your Java Environment
If you are using XCC/J, you must have Java installed on your client machine. You must also follow these steps to set up your environment to run the sample applications:
Set your
JAVA_HOME
environment variable, if it is not already set. For example, if you are running a Windows machine, setJAVA_HOME
in a command window like this:set JAVA_HOME=c:\Sun\SDK\jdk
Substitute the directory in which Java is installed in your environment.
Set your
CLASSPATH
environment variable correctly, or use the-classpath
option to pass the appropriate classpath on the command line. Make sure to use the correct name for themarklogic-xcc-
N.jar
file in yourCLASSPATH
, where N corresponds to the service release version number.