Currently, we use our own logic to calculate the java home location. While this can be achieved by calling the LS API. Reference: https://github.com/Microsoft/vscode-java-debug/pull/432