Hello Samid,
Please make sure correct java version is installed as mentioned in master guide and environment variable is correctly maintained, try running java -version as your installation user.
Make sure your PATH env variable is set to something like /usr/(java_version)/bin
Please check if this helps
Thanks and Regards,
Rameez Sarang