IBM Websphere 中的 Java 7.1

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25223122/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 07:37:19  来源:igfitidea点击:

Java 7.1 in IBM Websphere

javawebspherejava-7websphere-8

提问by user923499

I have Java SDK 6 in IBM websphere 8.5.5.2. Where can i download Java SDK 7.1 in IBM website and update it to websphere.

我在 IBM websphere 8.5.5.2 中有 Java SDK 6。我在哪里可以在 IBM 网站上下载 Java SDK 7.1 并将其更新到 websphere。

I tried google and couldn't find required information to update Java SDK 7.1. Can i update it from Installation Manager or should i download any files from IBM?

我尝试了 google,但找不到更新 Java SDK 7.1 所需的信息。我可以从 Installation Manager 更新它还是应该从 IBM 下载任何文件?

回答by Gas

Download Java SDK 7.1 from WebSphere Application Server V8.5.5 Fix Pack 2. Then unzip both archives 7.1.0.0-WS-IBMWASJAVA-part1.zipand 7.1.0.0-WS-IBMWASJAVA-part2.zipto folder and use Installation Manager to install new SDK. Here are Installation instructions.
Then use managesdkcommand to find out sdk id and switch Java for your profile.

WebSphere Application Server V8.5.5 Fix Pack 2下载 Java SDK 7.1 。然后将存档7.1.0.0-WS-IBMWASJAVA-part1.zip7.1.0.0-WS-IBMWASJAVA-part2.zip文件夹解压缩并使用 Installation Manager 安装新的 SDK。这里是安装说明
然后使用managesdk命令找出 sdk id 并为您的配置文件切换 Java。

For example (it's from 7.0, but you will get the idea how to find it for 7.1):

例如(它来自 7.0,但您将了解如何为 7.1 找到它):

C:\IBM\WebSphere\AppServer85\profiles\AppSrv1\bin>managesdk.bat -listAvailable
CWSDK1003I: Available SDKs :
CWSDK1005I: SDK name: 1.6_32
CWSDK1005I: SDK name: 1.7_32
CWSDK1001I: Successfully performed the requested managesdk task.

Then if you want to change it for one profile you invoke:

然后,如果您想为您调用的一个配置文件更改它:

managesdk -enableProfile -profileName AppSrv01 -sdkname SDK_Name -enableServers

or for all profiles:

或对于所有配置文件:

managesdk -enableProfileAll -sdkname SDK_Name -enableServers