Let's see how to create a local development environment. Here we are using the jar file of Saxon XQuery processor. The Java-based Saxon XQuery processor is used to test the ".xqy" file, a file containing XQuery expression against our sample XML document.
You need to load Saxon XQuery processor jar files to run the java application.
For eclipse project, add build-path to these jar files. Or, if you are running java using command prompt, you need to set classpath to these jar files or put these jar files inside JRE/lib/ext directory.