How to configure the jdk environment of Yonghong BI under Linux/Unix?

When YonghongBI is installed on Linux/Unix, jdk will not be installed automatically, and users need to specify the paths of jdk and jre by themselves.
--Method 1: Configure
during the installation process. During the installation process, enter the correct JDK path at the prompt to enter the JDK path, such as: /opt/jdk1.6.0_37
. Enter the correct JDK path at the prompt to enter the JRE path The JRE path, such as: /opt/jdk1.6.0_37/jre
-- Method 2: Configure in the setclasspath.sh file
. Enter tomcat/bin in the product installation directory
. Use the command vi setclasspath.sh
. Open the bin directory setclasspath.sh .
. Press the I key on the keyboard to enter the edit mode, enter the paths of jdk and jre:
export JAVA_HOME=/opt/jdk1.6.0_37
export JRE_HOME=/opt/jdk1.6.0_37/jre .
. Press the Esc key to exit edit mode, enter ":wq" to save the current changes and exit.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327078367&siteId=291194637