2.1.1 Installing Java 17.0.10
- Obtain the Java tarball pack from the Oracle Java Downloads. Download jdk-17.0.10_linux-x64_bin.tar.gz file to a directory.
- Change the directory in which you want to
install,
cd <Directory_Path>
- Unpack the tarball and install Java using the following
command:
tar <Path>/jdk-17.0.10_linux-x64_bin.tar.gz
Note:
You must enter the absolute path of the folder where the TAR file is located. - Now, set the path and environment variable for Java
as:
export JAVA_HOME=<Java_Install_Path>/jdk-17.0.10 export PATH=$JAVA_HOME/bin:$PATH
Parent topic: Installing Stand-alone Weblogic Server