Contents
To install the 64-bit JDK on a Linux platform:
- Download the file, jdk-11.interim.update.patch_linux-x64_bin.tar.gz .
- Change the directory to the location where you want to install the JDK, then move the .tar.gz archive binary to the current directory.
- Unpack the tarball and install the JDK:
Where is JDK installed Linux?
Type “Y”, and press “Enter.” 4. After the installation process is complete, jdk and jre are installed to /usr/lib/jvm/<java> directory, where <java> is the actual java installation folder. For example, /usr/lib/jvm/java-6-sun .
How do I download and install JDK on Ubuntu?
How to install Java (the default JDK) on Ubuntu using apt-get
- Step 1: Update Ubuntu. The first thing you should always do is update your system. You can do so by running the following commands: apt-get update && apt-get upgrade.
- Step 2: Install the default JDK. Run the following command: apt-get install default-jdk.