Documentation‎ > ‎

JxDocument Licensing

The JxDocument library requires a valid licence (teamdev.licenses) file for operations. You can request a fully-functional 30-day evaluation licence or purchase a commercial licence of JxDocument. 

30-day evaluation licence
When you request a 30-day evaluation licence file, you get email message with the link that you can use to download a licence.jar file. To enable the evaluation licence you need to include this licence.jar into your application class path.

Commercial licence
When you purchase a licence file, you get two JARs: development.jar and runtime.jar. You need to include one of these JARs into your application class path to enable the licence. The difference between Development and Runtime licence is the following:

- you need to use the Development licence (development.jar) for development purposes only. The number of licences should be equal to the number of developers who will use JxDocument for development purposes. For example, if you have 10 developers involved into your project and only 4 of them work with JxDocument, you should purchase 4 licences only.

- the Runtime licence (runtime.jar) should be used when you distribute your software with JxDocument enclosed. For example, you can include the runtime.jar file into class path of your application production version.  You can deploy the runtime licence with your application to unlimited number of end users.

Licence information
In order to get information about licence that JxDocument could find, you can use the "teamdev.license.info" system property. The following code demonstrates how to enable licence info printing in your application.

System.setProperty("teamdev.license.info", "true");
Document document = new Document(new File("C:\\TeamDev.pdf"));