2.4. Install the JDK2.4.1. Preparing the JDK
Search in Baidu: JDK download
2.4.2. Uploading a JDK
Put e:\ software installation files \jdk-8u11-linux-x64.rpm/home/linuxrac1/downloads
Put e:\ software installation files \linux.x64_11gr2_database_1of2.zip/home/linuxrac1/downloads
Put e:\ software installation files \linux.x64_11gr2_database_2of2.zip/home/linuxrac1/downloads
put e:\ software installation file \jdk-8u11-linux-x64.rpm /home/linuxrac1/downloads
2.4.3. Installing the JDK
|
[[email protected] downloads/]# su root
Password:
[Email protected] downloads/]# RPM–IVH jdk-8u11-linux-x64.rpm
Preparing ... #############################[100%]
1:JDK #############################[100%]
Unpacking JAR files ...
Rt.jar ...
Jsse.jar ...
Charsets.jar ...
|
2.4.4. Configuring the JDK environment variables
|
Java_home=/usr/java/jdk1.8.0_11
Jre_home=/usr/java/jdk1.8.0_11/jre
Path= $PATH: $JAVA _home/bin: $JRE _home/bin
Classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tool.jar: $JRE _home/lib:
Export Java_home jre_home PATH CLASSPATH |
Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build the environment-2.4. Install JDK