Free Trial licence file


Just download the sample code and like to run “compare two pdf files”…

(1)Where to get “GroupDocs.Total.Java.lic” for free trial?

(2)Currently, most of sample code show comparing pdf files and write result to an output file. Do you provide returned some Objects(ChangeInfo/Rectangle?) which shows the difference so that we could highlight in our application? If yes, could you provide some sample code?

Many thanks!




Thanks for taking interest in GroupDocs.Comparison for Java and posting your concerns.

You can avail temporary license here. Please follow the wizard and on step 5 of 8 you can get/request temporary license. You can follow steps given in this sample document for further help - (152.9 KB)

You can impose ComparisonSettings while comparing two documents.

ComparisonSettings settings = new ComparisonSettings();  

This code snippet will give you comparison summary. Furthermore, you can highlight changes as follows:


Please visit this article for further information.
You can get comparison results in ICompareResult object.

ICompareResult result =, targetPath, settings);