Java 7.1 in IBM Websphere

user923499 picture user923499 · Aug 9, 2014 · Viewed 11k times · Source

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.

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?

Answer

Gas picture Gas · Aug 9, 2014

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.zip and 7.1.0.0-WS-IBMWASJAVA-part2.zip to folder and use Installation Manager to install new SDK. Here are Installation instructions.
Then use managesdk command to find out sdk id and switch Java for your profile.

For example (it's from 7.0, but you will get the idea how to find it for 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