IBM Support

Unable to locate tools.jar

Troubleshooting


Problem

In the course of building the maximo ear file, a file not found error occurs.

Symptom

When running any of buildmaximoear.cmd, buildmaximoearwas8.cmd, buildhelpear.cmd, buildmxiehsear.cmd or buildrmiregwar.cmd, a message similar to the following message appears:

C:\ibm\SMP\maximo\deployment>buildmaximoear
Starting merge of deployment module C:\ibm\SMP\maximo\deployment\deplmodule.dar
No deployment module to merge. Exiting merge
Unable to locate tools.jar. Expected to find it in C:\ibm\SMP\maximo\tools\java\lib\tools.jar

...

Cause

The error is not related to Maximo. In this context, the tools.jar file is related to the one distributed with the Java Developer Kit (JDK) and not the one in the Maximo library.

This is a problem with Apache Ant. Ant expects the tools.jar file to be in the %JAVA_HOME%/lib but tools.jar is distributed with the JDK. Maximo includes the Java Runtime Engine (JRE), which does not contain tools.jar. Therefore, when packaging the maximo.ear, the Ant process cannot find the tools.jar file. This is a known problem with Ant and does not impact how the maximo.ear is built.

Resolving The Problem

You may ignore this error message.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"System Related","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.2.1;6.2.2;6.2.3;6.2.4;6.2.5;6.2.6;6.2.7;6.2.8;7.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21683317