How to Run Examples

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Comparison MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-comparison -- dnx GroupDocs.Comparison.Mcp --yes
Folders, licensing and more →
Warning
Before running an example, make sure that Java and Maven have been installed successfully and operate properly.

Download from GitHub

The complete examples package of GroupDocs.Comparison for Java is hosted on Github. You can either download the ZIP file from here or clone the repository of Github using your favorite Github client.

If you download the ZIP file, extract the folders on your local disk. The extracted files and folders will look like following image:

Open Eclipse and import the project to get started with it. Uncomment the appropriate example and run the project (the main method).

Contribute

If you like to add or improve an example, we encourage you to contribute to the project. All examples in this repository are open source and can be freely used in your own applications.

To contribute, you can fork the repository, edit the source code and create a pull request. We will review the changes and include it in the repository if found helpful.