2

I am trying to install IBM Liberty version 24.0.0.6 with Java 11 on an AIX server using the following command:

./imcl install com.ibm.websphere.liberty.ND_24.0.6.20240603_2002,com.ibm.java.jdk.v11_11.0.2200.20240215_0225 \
-repositories https://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.ND,https://www.ibm.com/software/repositorymanager/com.ibm.java.jdk.v11 \
-installationDirectory /usr/IBM/WebSphere/Liberty/wlp \
-sharedResourcesDirectory /usr/IBM/IMShared \
-secureStorageFile credential.store \
-masterPasswordFile master_password_file.txt \
-acceptLicense

However, I am encountering the following error:

CRIMA1151E ERROR: The "com.ibm.java.jdk.v11_11.0.2200.20240215_0225" feature cannot be found in package com.ibm.websphere.liberty.ND (IBM WebSphere Application Server Liberty Network Deployment 24.0.0.6).

It appears to only be looking at the WebSphere Liberty repo and not the java 11 repo. When I query the Liberty repo the only java I see available in it is java 8. How do I perform this properly from command line? I am attempting to get the commands to function manually before I turn this into an Ansible playbook to perform the install.

1 Answer 1

1

The packages are space-separated, even though repositories are comma separated -- the command line argument passing is very non-standard and not even internally consistent.

Commas in the package name refer to sub-features of a package which is not used much in WebSphere.

Also you can truncate the package names before the detailed version and the latest will be used, e.g. just "com.ibm.java.jdk.v11"

Sign up to request clarification or add additional context in comments.

2 Comments

Separating the packages by a space instead of a comma gets me a new error. I am able to connect to both repos separately and do a listAvailablePackages with the same credentials. I will update the post.
I see I left off the master password file when I ran it the second time with a space between packages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.