Setting Up the Java Environment
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install the Java package:
yum install java-1.8.0-openjdk.aarch64
- Run the following command to check whether Java has been installed:
java -version
If the following information is displayed, Java has been installed successfully:
openjdk version "1.8.0_212"
Parent topic: Configuring the Compilation Environment