i-net Clear Reports

Third party library

A library in Java generally means a jar file. This is different to the term “native library”. A jar file must be added to the class path. This equals the path of the native libraries.

A library is needed for database drivers, Java Beans, custom functions and language resources.

There are many different solutions to add libraries to different applications. For i-net Designer there are 3 solutions.

1. Register library in the configuration of i-net Clear Reports

In the i-net Clear Reports configuration you will find the property Lib Directory. You can set single jar files and directories containing files to this property.

You can edit this property with the Configuration Manager that can be reached simply by executing ClearReports.jar (double click on it) or by i-net Designer (File→i-net Clear Reports Options). To set multiple entries, separate them by comma.

Entries are then available for all applications which work with i-net Clear Reports (such as i-net Designer, i-net Scheduler).

Example:

C:/ClearReports/libs, C:/jdbcdriverCSv/Fositex.jar,
C:/jdbcdriverMSSQL/Merlia.jar, C:/jdbcdriverORACLE/Oranxo.jar

If no value is set for the property lib Directory a /lib directory will be searched for in the folder which holds the ClearReports.jar file.

2. Copy to the Java VM directory

You can copy the jar file into the directory lib/ext directory of the used Java VM. This library will then be available for Java applications used by this Java VM.

The disadvantage of this is that if you install a new version of the Java VM then you'd need to recopy the library, which might be easy to forget.

3. Register the library in i-net Designer

  • Copy the library to a permanent place. You might want to use i-net Designer directory, as you might already be using it for updates of i-net Designer.
  • Start i-net Designer.
  • In the menu point “Database → Driver Libraries” you can add the library permanently. You can find more info on this dialog in the context help by clicking on the “Help” Button.

i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to clearreports@inetsoftware.de.

 

© Copyright 1996 - 2012, i-net software; All Rights Reserved.