HelloWorldSave PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLPrintLast Updated: April 14, 20261 minute read This program runs a query on MarkLogic Server that returns the string Hello World. The following is a sample command to run the HelloWorld class: Copyjava -classpath "XCC_HOME/lib/xcc.jar:XCC_HOME/lib/xccexamples.jar" com.marklogic.xcc.examples.HelloWorld xcc://username:password@localhost:8021
This program runs a query on MarkLogic Server that returns the string Hello World. The following is a sample command to run the HelloWorld class: Copyjava -classpath "XCC_HOME/lib/xcc.jar:XCC_HOME/lib/xccexamples.jar" com.marklogic.xcc.examples.HelloWorld xcc://username:password@localhost:8021
This program runs a query on MarkLogic Server that returns the string Hello World. The following is a sample command to run the HelloWorld class: Copyjava -classpath "XCC_HOME/lib/xcc.jar:XCC_HOME/lib/xccexamples.jar" com.marklogic.xcc.examples.HelloWorld xcc://username:password@localhost:8021