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:
- In the Docker container, install BiSheng JDK 8 from the Yum source.
yum -y install java-1.8*
- Install dependencies.
yum install freetype xorg-x11-fonts-others
- Configure the environment variables.
- Open the /etc/profile file.
vim /etc/profile
- 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.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /etc/profile file.
- Make the environment variables take effect.
source /etc/profile
- Check whether the installation is successful.
java -version
If the Java version information is displayed, the installation is successful.
Parent topic: Installing BiSheng JDK 8