---
title: License4J
description: OpenLM supports monitoring a wide and growing variety of license managers. This article describes how to configure OpenLM to work with the License4J.
product: OpenLM Version 25 / v26 (legacy)
---

> **OpenLM Version 25 / v26 (legacy).** This page documents the legacy product, not OpenLM Platform.

## Scope

OpenLM supports monitoring a wide and growing variety of license managers.  
This article describes how to configure OpenLM to work with the **License4J License Manager** and generate license usage reports. This capability is available for License4J version **4.3.4 and later**.

## Prerequisites

To monitor the License4J license server, install the following components:

- [License4J add-on for OpenLM](https://www.license4j.com/download/FloatingLicenseServerQueryOpenLM.zip) on the License4J license server machine. The add-on queries the server locally.  
- OpenLM Broker on the same License4J license server machine. The Broker forwards query results to the OpenLM Server.  
- OpenLM Server on any Windows machine in the network (can be the same server). It parses and presents the results in the EasyAdmin web application.  

## Configuration

### OpenLM Server configuration

1. [Download and install OpenLM Server](https://www.openlm.com/knowledge-base/openlm-server-kb4100/).  
2. Open the OpenLM Server Configuration tool.  
3. In the **License Servers** tab, select **Add**.  
4. From the **Type** drop-down menu, select **OpenLM Generic**.  
5. Enter a descriptive name in the **Description** field (for example, *License4J server*).  
6. Set the **Time Zone** for the license server location.  
7. Enter the server's **hostname or IP** (for example, *license4j_server*).  
   - Use the same hostname in the Broker configuration.  
8. Enter the License4J **port number** (for example, *16090*).  
   - Use the same port in the Broker configuration.  
9. Leave **Is Triad Configuration** unchecked. License4J does not support triad configuration.  
10. Select **Use Broker**.  
11. Select **Apply**.  

### OpenLM Broker configuration

1. [Download and install the latest OpenLM Broker](https://openlm.com/documentation/legacy/openlm-broker).  
2. Enter the OpenLM Server hostname (for example, *my_openLM_server*).  
3. Set the communication port. The default is **5015**. Ensure the OpenLM Server port is open for inbound communication.  
4. Configure the license server details to match the OpenLM Server settings:  
   - Highlight the **License Servers** node.  
   - Enter the same hostname (for example, *license4j_server*), and select **Apply**.  
5. Add a port for the license server:  
   - Select the **license4j_server** node.  
   - Select **Add Port**.  
   - Enter the same port number configured in OpenLM Server (for example, *16090*).  
   - In the **License Manager Type** drop-down, select **OpenLM Generic**.  
   - Select **Apply** and then **OK**.  
6. [Download the License4J add-on](https://www.license4j.com/download/FloatingLicenseServerQueryOpenLM.zip) and unzip it on the License4J server (for example, to `C:\tmp`).  
7. Open the **Commands** section and select the **data_inquiry** node. Enter the full path to the License4J command:  

   ```bash
   java -jar "<FullPath>\FloatingLicenseServerQueryOpenLM.jar" <ServerNameOrIP>:<PortNumber>
    ```

    Example:
    ```bash
    java -jar "C:\tmp\FloatingLicenseServerQueryOpenLM\FloatingLicenseServerQueryOpenLM.jar" license4j_server:16090
    ``` 

  8.	Select Execute to test the Data Inquiry command.
	9.	Select Apply.
	10.	Repeat steps 7–9 for the Status command.
	11.	Expand the Vendors node. Enter License4J as the vendor name.
	12.	Select Apply. If prompted with Vendor details changed, select No.
	13.	Select Restart Broker.

  Your OpenLM system is now configured to monitor License4J license usage.
