我要评分
获取效率
正确性
完整性
易理解

Configuring the Compilation Environment

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install dependencies:
    yum install -y java-1.8.0-openjdk* ant hwloc-devel openssl-devel libdb-devel pam-devel junit* javacc* libXt-devel motif-devel ncurses-devel

    In this example, the CentOS 7.6 image is used as the local Yum source. You can change the Yum source in the /etc/yum.repos.d directory as required.

  3. Load the environment variables of Java 1.8.0 that has been installed.
    export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.aarch64
    export PATH=$JAVA_HOME/bin:$PATH
  4. Create a soft link for the JRE library of ARM64.
    cd /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.aarch64/jre/lib
    ln -s aarch64 arm64