WebSphere can only use the IBM JDK Oh, not the sun's JDK. However, if you just change the JDK version, you can refer to the following steps: (Take the cluster as an example, assuming that there is a management node Dmgr01, application summary AppSrv01)
1. Ensure that services such as dmgr01,nodeagent are activated.
2. Perform:./managesdk.sh-listavailable Check if the JDK1.7 is already installed.
3. In the Dmgr01/bin directory, the Appsrv01/bin directory executes the following command:
./managesdk.sh-enableprofile-sdkname 1.7_64-profilename dmgr01-enableservers-user actual console user name-password password
./managesdk.sh-enableprofile-sdkname 1.7_64-profilename appsr-enableservers-user actual console user name-password password
If a successful prompt appears after the command executes, the JDK7 has been successfully switched, otherwise check for errors based on the above steps.
4. After the execution, go to the console and go to the following menu: Server type->websphereapplication server-> service name->java SDK on JAVASDK page check if SDK is specified to take effect. Whether the corresponding SDK version of the corresponding default value is Ture, if it is ture is effective
Change the SDK version of Server1 for a profile of was profiles