To view the current JDK version:
- Open an SSH connection to the VM or the server, or open the VMware console and press Alt+F2 to reach the console.
- Log in as a root user or a normal user. If you log in as a normal user, use the sudo command to complete the following procedure as the root user.
- To view the current JDK version, enter the command /opt/rainier/bin/rainier-replace-jdk --current-java.