ニュース

If Java is not recognized as internal or external command, you need to make sure that the installation is not problematic and its path is recognized as system variables.
When the command completes, you’ll return to the local prompt, ready to keep working. And that’s all there is to running commands that require sudo privileges on a remote machine, via SSH.