How to download Java 64 bit

In this post, we feature a comprehensive article about how to download Java 64 bit which contains the Java Virtual Machine(JVM), Java Runtime Environment and Java Development Toolkit(JDK).

As we all know, Java is a very popular programming language mainly because it is free and platform independence. To develop the java program, the first step is to download and install the java.

This article will guide you on how to download and install java 64 bit on Windows and on Linux. 5 simple steps have to be followed. These are:

1. Identify your need

Our need is to install JDK 64 bit. Let’s start downloading…

2. Download Java 64 bit for Windows

2.1 Download JDK

Select JDK for Windows

2.2 Installation

Installation step 1
Installation step 2
Installation step 3
Installation step 4
Verifying javac

2.3 Set environment variables

2.4 Verification

javac verification
Installed java version

The above output shows Java installed successfully on your windows.

3. Download Java 64 bit on Ubuntu

In many ways, you can install Java on ubuntu. Here I will show you the easiest way to installing Java on Ubuntu

3.1 Install default JDK

To install the default JDK, execute the below command in terminal

sudo apt-get update
sudo apt-get install default-jdk

3.2 Install Oracle JDK

To install the Oracle JDK, follow the below instruction

 tar -xvf ~/Downloads/jdk-13.0.1_linux-x64_bin.tar.gz
 sudo mkdir -p /opt/java/jdk-13.0.1/
 sudo mv jdk13.0.1*/* /opt/java/jdk-13.0.1/
 sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/jdk-13.0.1/bin/java" 1 
sudo update-alternatives --install "/usr/bin/javac" "javac" "/opt/java/jdk-13.0.1/bin/javac" 1 
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/java/jdk-13.0.1/bin/javaws" 1
 sudo gedit . bashrc.
 export JAVA_HOME=/opt/java/jdk-13.0.1
export PATH=$JAVA_HOME/bin:$PATH

The above output shows Java installed successfully on your Ubuntu.

I hope this article helps you with your first step towards Java by downloading and installing it in your system. Happy coding!!!

Exit mobile version