FreeKB - IBM WebSphere managesdk -setCommandDefault command (Java SDK)
IBM WebSphere - managesdk -setCommandDefault command (Java SDK)

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.

Before and after using the -setCommandDefault option to update the version of Java SDK being used by commands, you may want to use the managesdk -getCommandDefaults command to list the version of Java SDK that are being used by commands.

The managesdk.bat (Windows) or (Linux) command with the -setCommandDefault option will update commands to use a certain version of Java SDK by default. In this example, commands will use version 1.8_64 of Java SDK by default.

${WAS_INSTALL_ROOT}/bin/ -setCommandDefault -sdkname 1.8_64


If the change is successful, the following should be displayed.

CWSDK1021I: The command default SDK name is now set to 1.8_64.
CWSDK1001I: Successfully performed the requested managesdk task.


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 00afb in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |