How to install jdk 1.7 to WebSphere 8.5.0.0 (on IBM RAD) from IBM install management (IIM)?

 ̄綄美尐妖づ 提交于 2019-12-11 04:24:02

问题


I stuck here, we are using a licensed IBM Rational Application Developer V8.5 which contain WebSphere 8.5.0.0 as default to develop. As an old project which running on WebSphere need to update and including jdk update from 1.6 to 1.7, the problem is WebSphere 8.5.0.0 only has jdk 1.6 as runtime version (As picture below, JVM 1.6_64), as showing in second picture, which means I don't have jdk 7 specific for RAD Websphere on my workspace. And I am not able to find downloading resource now.

Try to resolve problem, I refer to two sites below: From link 1, I know I should go to link 2.

1.WebSphere Application Server JVM version shows as 1.6 for server configured with JRE 1.7 runtime in Rational Application Developer

2.Installing IBM WebSphere SDK Java Technology Edition Version 7.0 or 7.1 using the GUI

In link 2, actually, NOT a step by step tutorial and NO picture as instruction to show how to install jdk 7.0 from IBM Install Manager. Also, as mentioned, as we are using RAD, the jdk could not be open source version from Oracle official site, should be specific version (e.g IBM WebSphere SDK Java Technology Edition Version 7.0.4.1) from IBM official site or repository, that's why I think using IBM Install Manager to finish this install is better.

Note: If higher version like jdk 7.1 or even higher works against WebSphere 8.5.0.0 is also fine, the final target is update to at least jdk 7.0

I have Install Manager as below, but as no step by step tutorial, I stuck here.

Could someone show me how to do this step by step ? Thanks


回答1:


As noted in the 2nd link that you mentioned, which is similar to this, you can use Installation Manager to install WebSphere Java SDK 7 over the internet using this repository:

    http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IBMJAVA.v70 
  1. Start Installation Manager (GUI)
  2. Specify the above repository under File > Preferences of Installation Manager (and use your IBM ID to authenticate)
  3. Click Install
  4. Select IBM WebSphere SDK Java Technology Edition Version 7.0
  5. Follow the wizard to complete the installation

The procedure is captured in the documentation referenced.

You will want to consider updating to the latest WAS 8.5.5.x fix pack. 8.5.0.0 is the initial release and is a relatively old level.




回答2:


Since it seems you have succesfully installed the JDK you want, you need to investigate the managesdk command described on the managesdk Knowledge Center page. This is the command you use to determine which JDK a profile uses.

Below is a sample session I ran a few years ago.

C:\ibm\was85\bin>managesdk -listAvailable CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 CWSDK1005I: SDK name: 1.7_64

CWSDK1001I: Successfully performed the requested managesdk task.

C:\ibm\was85\bin>managesdk -setNewProfileDefault -sdkName 1.7_64 CWSDK1022I: New profile creation will now use SDK name 1.7_64. CWSDK1001I: Successfully performed the requested managesdk task.

The RAD preferences you reference above determines how your IDE will compile your source code during development.



来源:https://stackoverflow.com/questions/41598722/how-to-install-jdk-1-7-to-websphere-8-5-0-0-on-ibm-rad-from-ibm-install-manage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!