FreeKB - View and update the Java SDK being used in WebSphere
View and update the Java SDK being used in WebSphere

Home > Search


SDK stands for software development kit. Before you update a dmgr, node agent, or application server to use a certain version of Java SDK, you must first install the version of Java that you want to use.

If you are not sure what versions of Java SDK you have installed, the managesdk.bat (Windows) or managesdk.sh (Linux) command can be used.

managesdk.sh -listAvailable
CWSDK1003I: Available SDKs :
CWSDK1005I: SDK name: 1.7_64
CWSDK1005I: SDK name: 1.8_64
CWSDK1001I: Successfully performed the requested managesdk task.

 


 

dmgr (using the web console)

  1. In the dmgr web console, select System administration > Deployment manager.
  2. Select the Java SDKs.
  3. To update the dmgr, select one of the available Java SDKs and select Make Default.
  4. Select Save.
  5. Restart the dmgr for this change to take effect.

 

node agent (using the web console)

  1. In the dmgr web console, select System administration > Node agents.
  2. Select a node agent.
  3. Select the Java SDKs.
  4. To update the node agent, select one of the available Java SDKs and select Make Default.
  5. Select Save.
  6. Synchronize the node.
  7. Restart the node for this change to take effect.

 

application server (using the web console)

  1. In the dmgr web console, select Server > Server Types > WebSphere application servers.
  2. Select an applicaton server.
  3. Select the Java SDKs.
  4. To update the application server, select one of the available Java SDKs and select Make Default.
  5. Select Save.
  6. Synchronize the node.
  7. Restart the application server for this change to take effect.

 

In this example, version 1.7_64 is being used.

 


SystemOut.log

After you restart the dmgr, node agent, or application server, Java version and Java Home in SystemOut.log should contain the version of Java being used (Java 8, 64-bit in this example).

Java version = 1.8.0
Java Home = ${WAS_INSTALL_ROOT}/java_1.8_64/jre

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 25a69 in the box below so that we can be sure you are a human.




Comments