背影介绍:由于要静默安装WAS9,但查了一下文档,从WAS9开始SDK包将不再内置在WAS安装包中,需单独安装,在使用IIM1.8.8安装SDK8时报错,提示缺包,但始终看不懂缺什么包?还是在安装SDK之前还要安装其它什么软件?
请各位指点一下,谢谢!
静默安装的命令:
cd /opt/IBM/InstallationManager/eclipse/tools/
./imcl install com.ibm.java.jdk.v8_8.0.5010.20180215_1012 \
-repositories /nimnfs/01_midware/03_was/was9000_base_jdk/repository.config \
-installationDirectory /was/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /was/IBM/IMShared \
-properties cic.selector.nl=zh \
-acceptLicense \
-showVerboseProgress
错误输出:
ERROR: The installation package 'IBM SDK,Java Technology Edition,Version 8' requires components supplied by other packages.
The required components might be supplied by the following installation packages:
Package: Any IBM product edition that supports IBM SDK Java Technology Edition for Installation Manager consult the product documentation
始终没看懂提示所需的包是什么东西。
不要单独安装jdk,跟was9一起安装sdk,编辑好response.xml 文件,用imcl静默式安装。
收起WAS 9与JDK 8是两个分开的包,你需要同时存在这两个包才能够安装!
正确的安装方式,前面用,逗号是feature列表,用 空格表示多个组件,repositories用,逗号分隔
比如安装 IHS
$IMCL install com.ibm.websphere.IHS.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160526_1317 -acceptLicense -sVP -installationDirectory /opt/IBM/HTTPServer -repositories /root/IBM/SDKJAVA_TM_TE_V8.0_LINUX.zip,/root/IBM/WAS_V9.0_IHS.zip
Installed com.ibm.websphere.IHS.v90_9.0.0.20160526_1854 to the /opt/IBM/HTTPServer directory.
Installed com.ibm.java.jdk.v8_8.0.3000.20160526_1317 to the /opt/IBM/HTTPServer directory.
收起