最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to Install Java 11 with IBM WebSphere Liberty - Stack Overflow

programmeradmin3浏览0评论

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 .ibm.websphere.liberty.ND,.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.

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/software/repositorymanager/com.ibm.websphere.liberty.ND,https://www.ibm/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.

Share Improve this question edited Mar 17 at 17:15 Jason Skeel asked Mar 17 at 15:38 Jason SkeelJason Skeel 355 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 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"

发布评论

评论列表(0)

  1. 暂无评论