Question & Answer
Question
WebSphere Liberty ND 8.5.5.17 is currently installed with the "WebSphere Java SDK" (com.ibm.websphere.liberty.IBMJAVA.v80).
However, there is a need to install the "Common IBM Java SDK" (com.ibm.java.jdk.v8) but it is failing to install.
Command used to install:
However, there is a need to install the "Common IBM Java SDK" (com.ibm.java.jdk.v8) but it is failing to install.
Command used to install:
-----------------------------
./imcl install com.ibm.java.jdk.v8 -acceptLicense -installationDirectory /opt/IBM/WebSphereLibertyND -repositories /repos/java8 -showVerboseProgress
Error Encountered:
----------------------
Getting fixes from /opt/ibm/AgentData/installRegistry/metadata.
----------------------
Getting fixes from /opt/ibm/AgentData/installRegistry/metadata.
Initializing metadata cache.
Collecting: /repos/java8/SDK_85541
ERROR: Failed to find required installation files.
CRIMA1161E ERROR: Failed to find required installation files.
Explanation: Installation Manager did not find required installation files from the repository. An issue has occurred with the package that cannot be resolved by Installation Manager.
User Action: If the repository files were transferred from a different location before the installation, verify that the files were not altered during the transfer operation. Copy the repository files to a different location and install from that location. If the repository files were not transferred note the package name and version number and contact customer support.
ERROR: 'jar file com.ibm.was.liberty.generate.java.env_16.0.2.20160420_1650' not found in /repos/java8/SDK_85541/.
ERROR: 'jar file com.ibm.was.liberty.generate.java.env_16.0.2.20160420_1650' not found in /repos/java8/SDK_85541/.
Cause
The error occurs because the com.ibm.was.liberty.generate.java.env_16.0.2.20160420_1650 JAR file is missing from the IBM Installation Manager IMShared directory location. For details about the IMShared directory see the following link:
What are the IMShared and Agent data directories created by the IBM Installation Manager? (Application Integration Middleware Support Blog)
https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/what_are_imshared_and_agent_data_directories_created_during_install_of_websphere_application_server_install_by_installation_manager?lang=en
What are the IMShared and Agent data directories created by the IBM Installation Manager? (Application Integration Middleware Support Blog)
https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/what_are_imshared_and_agent_data_directories_created_during_install_of_websphere_application_server_install_by_installation_manager?lang=en
When WebSphere Liberty ND was first installed, this com.ibm.was.liberty.generate.java.env_16.0.2.20160420_1650 JAR file along with other installation artifacts are saved in the IMShared location. For some reason or another this file no longer exist in the IMShared location. It might have inadvertently been deleted which leads to the above error.
Answer
To resolve the issue you will need to provide the repository used during the initial install of WebSphere Liberty ND along with the repository which contains the Java v8 SDK that you are trying to install. When this is done the installation process can pull any missing JAR files (or any other artifacts that may be missing from the IMShared location) from the source Liberty ND repository.
Note: To find the source repository used to initially install the product you can run the following imcl command:
<IM_HOME>/eclipse/tools/imcl listInstalledPackages -verbose
<IM_HOME>/eclipse/tools/imcl listInstalledPackages -verbose
So, if the source repository initially used to install WebSphere Liberty ND was /repos/WASLibertyND85517 then the command needed to install the com.ibm.java.jdk.v8 SDK would look like this:
./imcl install com.ibm.java.jdk.v8 -acceptLicense -installationDirectory /opt/IBM/WebSphereLibertyND -repositories /repos/java8,/repos/WASLibertyND85517 -sVP
Note: In the above command you need to provide both repositories (/repos/java8 and /repos/WASLibertyND85517) separated by a comma.
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF051","label":"Linux on IBM Z Systems"},{"code":"PF043","label":"Red Hat"},{"code":"PF027","label":"Solaris"},{"code":"PF048","label":"SUSE"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Product Synonym
WebSphere;Websphere Application Server;WAS
Was this topic helpful?
Document Information
Modified date:
12 November 2019
UID
ibm11106271