With `managesdk.sh` or `managesdk.bat` I can get the version of the JDK used by a specific profile using the following command:

```
managesdk.bat -listEnabledProfile -profileName myProfile

```

and it prints something like:

```
CWSDK1004I: Profile myProfile :
CWSDK1006I: PROFILE_COMMAND_SDK = 1.8_64
CWSDK1008I: Node liferay-node SDK name: 1.8_64
CWSDK1009I: Server server1 SDK name: 1.8_64
CWSDK1001I: Successfully performed the requested managesdk task.

```

However, it will be better for what I want to do if I can execute a command to get the actual JAVA\_HOME path. I know it will be printed when starting the server and I can find it in SystemOut.log.

However, is there any command to print it out without starting the server?