Rate This Document
Findability
Accuracy
Completeness
Readability

Installing BiSheng JDK 8 on openEuler

When running SPECjvm, you can use the BiSheng JDK 8 runtime environment to achieve better performance.

To install BiSheng JDK 8 on openEuler, you must have the root permission. The installation procedure is as follows:

  1. In the Docker container, install BiSheng JDK 8 from the Yum source.
    yum -y install java-1.8*
  2. Install dependencies.
    yum install freetype xorg-x11-fonts-others
  3. Configure the environment variables.
    1. Open the /etc/profile file.
      vim /etc/profile
    2. Press i to enter the insert mode and add the following content to the end of the file:
      export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.xxxxxx
      export JRE_HOME=$JAVA_HOME/jre
      export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

      Replace java-1.8.0-openjdk-1.8.0.xxxxxx in the JAVA_HOME environment variable with the actual BiSheng software package name.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Make the environment variables take effect.
    source /etc/profile
  5. Check whether the installation is successful.
    java -version

    If the Java version information is displayed, the installation is successful.