简体   繁体   English

Websphere 8.5 jdk 7安装

[英]Websphere 8.5 jdk 7 installation

I have JDK 7 installed on my machine. 我的机器上安装了JDK 7。
I have JDK 7 patch installed on Websphere 8.5.5.0 我在Websphere 8.5.5.0上安装了JDK 7补丁

When I try to run the following command I get an error. 当我尝试运行以下命令时出现错误。

Command 命令
managesdk.bat -enableProfile -profileName AppSrv01 -sdkName 1.7_64 managesdk.bat -enableProfile -profileName AppSrv01 -sdkName 1.7_64

Error 错误
CWSDK0009E: Unexpected exception com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.AdminException: CWLCA0012E: The sdk 1.7_64 is not available on node XXXXXX CWSDK0009E:意外异常com.ibm.websphere.management.exception.AdminException:com.ibm.websphere.management.exception.AdminException:CWLCA0012E:节点XXXXXX上没有sdk 1.7_64

where XXXXXX is my node name. 其中XXXXXX是我的节点名称。

Does anyone know how to fix this? 有谁知道如何解决这一问题?

PS: Listing does tell me that I've JDK 7 installed. PS:列表告诉我我已经安装了JDK 7。
C:\\Program Files (x86)\\IBM\\WebSphere\\AppServer\\bin>managesdk -listAvailable C:\\ Program Files(x86)\\ IBM \\ WebSphere \\ AppServer \\ bin> managesdk -listAvailable

CWSDK1003I: Available SDKs : CWSDK1003I:可用的SDK:
CWSDK1005I: SDK name: 1.6_64 CWSDK1005I:SDK名称:1.6_64
CWSDK1005I: SDK name: 1.7_64 CWSDK1005I:SDK名称:1.7_64
CWSDK1001I: Successfully performed the requested managesdk task. CWSDK1001I:已成功执行请求的managesdk任务。

Navigate to /bin and execute below command. 导航到/ bin并执行以下命令。

Win: managesdk.bat -listAvailable -verbose AIX: managesdk.sh -listAvailable -verbose Win:managesdk.bat -listAvailable -verbose AIX:managesdk.sh -listAvailable -verbose

You will get output as for AIX: 您将获得AIX的输出:

CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 - com.ibm.websphere.sdk.version.1.6_64=1.6 - com.ibm.websphere.sdk.bits.1.6_64=64 - com.ibm.websphere.sdk.location.1.6_64=${WAS_INSTALL_ROOT}/java - com.ibm.websphere.sdk.platform.1.6_64=aix - com.ibm.websphere.sdk.architecture.1.6_64=ppc_64 - com.ibm.websphere.sdk.nativeLibPath.1.6_64=${WAS_INSTALL_ROOT}/lib/native/aix/ppc_64/ CWSDK1003I:可用的SDK:CWSDK1005I:SDK名称:1.6_64 - com.ibm.websphere.sdk.version.1.6_64 = 1.6 - com.ibm.websphere.sdk.bits.1.6_64 = 64 - com.ibm.websphere.sdk .location.1.6_64 = $ {WAS_INSTALL_ROOT} / java - com.ibm.websphere.sdk.platform.1.6_64 = aix - com.ibm.websphere.sdk.architecture.1.6_64 = ppc_64 - com.ibm.websphere.sdk .nativeLibPath.1.6_64 = $ {WAS_INSTALL_ROOT} / LIB /天然的/ AIX / ppc_64 /

CWSDK1005I: SDK name: 1.7_64 - com.ibm.websphere.sdk.version.1.7_64=1.7 - com.ibm.websphere.sdk.bits.1.7_64=64 - com.ibm.websphere.sdk.location.1.7_64=${WAS_INSTALL_ROOT}/java_1.7_64 - com.ibm.websphere.sdk.platform.1.7_64=aix - com.ibm.websphere.sdk.architecture.1.7_64=ppc_64 - com.ibm.websphere.sdk.nativeLibPath.1.7_64=${WAS_INSTALL_ROOT}/lib/native/aix/ppc_64/ CWSDK1005I:SDK名称:1.7_64 - com.ibm.websphere.sdk.version.1.7_64 = 1.7 - com.ibm.websphere.sdk.bits.1.7_64 = 64 - com.ibm.websphere.sdk.location.1.7_64 = $ {WAS_INSTALL_ROOT} /java_1.7_64 - com.ibm.websphere.sdk.platform.1.7_64 = aix - com.ibm.websphere.sdk.architecture.1.7_64 = ppc_64 - com.ibm.websphere.sdk.nativeLibPath。 1.7_64 = $ {WAS_INSTALL_ROOT} / LIB /天然的/ AIX / ppc_64 /

Check for location.1.7_64 path and make sure the path is present. 检查location.1.7_64路径并确保路径存在。

Also make sure your AppServer dir has all file permissions for all users. 还要确保您的AppServer目录具有所有用户的所有文件权限。

once you do that execute below mentioned commands. 一旦你这样做执行下面提到的命令。

AIX: managesdk.sh -setCommandDefault -sdkname 1.7_64 WIN: managesdk.sh -setCommandDefault -sdkname 1.7_64 AIX:managesdk.sh -setCommandDefault -sdkname 1.7_64 WIN:managesdk.sh -setCommandDefault -sdkname 1.7_64

AIX: managesdk.sh -setNewProfileDefault -sdkname 1.7_64 WIN: managesdk.sh -setNewProfileDefault -sdkname 1.7_64 AIX:managesdk.sh -setNewProfileDefault -sdkname 1.7_64 WIN:managesdk.sh -setNewProfileDefault -sdkname 1.7_64

AIX: managesdk.sh -enableProfileAll -sdkname 1.7_64 -enableServers WIN: managesdk.sh -enableProfileAll -sdkname 1.7_64 -enableServers AIX:managesdk.sh -enableProfileAll -sdkname 1.7_64 -enableServers WIN:managesdk.sh -enableProfileAll -sdkname 1.7_64 -enableServers

Check now..!! 现在检查..!!

Cheers..!! 干杯..!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM