Install openjdk 17 arch ubuntu. 3; Set the Environment Variables for Java.

Install openjdk 17 arch ubuntu. For setting the JAVA_HOME in path we can following command.