Installing JDK on Linux Full Version (Not Headless)
Step 1: Download the JDK
Before we begin, you need to download the JDK (Java Development Kit) from the official Oracle website. You can download the JDK for Linux from the following link:
- https://www.oracle.com/java/technologies/javase-downloads.html
- You can also download the JDK from the Oracle website using the following steps:
- Go to the Oracle website and click on the "Downloads" tab.
- Select the "Java Development Kit" (JDK) version you want to download.
- Click on the "Download" button to start the download process.
- Once the download is complete, you can extract the JDK files to your desired location.
Step 2: Extract the JDK Files
Once you have downloaded the JDK, you need to extract the files to your desired location. Here’s how you can do it:
-
Extracting the JDK files:
- Open a terminal or command prompt.
- Navigate to the directory where you want to extract the JDK files.
- Run the following command to extract the JDK files:
tar -xvf jdk-<version>-<arch>-<os>-<bits>-<x86>-<x64>-<osx>-<bits>-<windows>-<bits>.tar.gz - Replace
<version>with the version of the JDK you want to install. - Replace
<arch>with the architecture of your system (e.g.,x86,x64,osx, etc.). - Replace
<os>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<x86>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<x64>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<bits>with the number of bits you want to use for the JDK (e.g.,32,64, etc.). - Replace
<windows>with the architecture of your system (e.g.,x86,x64, etc.). - Replace
<osx>with the operating system you want to install the JDK on (e.g.,linux,windows, etc.). - Replace `<bits
