0% found this document useful (0 votes)
2 views

How to Install Java on Windows 64 Bit Machine - HowToDoInJava

This document provides a step-by-step guide on how to install Java on a 64-bit Windows machine. It details two installation methods: using an executable (.exe) file for a straightforward setup or a compressed (.zip) archive for advanced users who may need multiple Java versions. The guide concludes with instructions on verifying the installation through the command prompt.

Uploaded by

480
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

How to Install Java on Windows 64 Bit Machine - HowToDoInJava

This document provides a step-by-step guide on how to install Java on a 64-bit Windows machine. It details two installation methods: using an executable (.exe) file for a straightforward setup or a compressed (.zip) archive for advanced users who may need multiple Java versions. The guide concludes with instructions on verifying the installation through the command prompt.

Uploaded by

480
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.

com/java/basics/install-java-on-64-bit-windows/

How to Install Java on Windows


64 bit Machine
Learn to install Java on 64-bit Windows machines in this step-by-step guide. 1.
Navigate to the Oracle Java Download Page Navigate to the Java download page for
the latest Java release. Click on the link “JDK Download”. 2. Download the zip or Exe
Package Here you have two …

Lokesh Gupta

December 27, 2022

Java Basics

Installation Guides, Windows

Learn to install Java on 64-bit Windows machines in this step-by-step guide.

1. Navigate to the Oracle Java Download Page

Navigate to the Java download page for the latest Java release.

Click on the link “JDK Download”.

1 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

JDK Download Link

2. Download the zip or Exe Package

Here you have two choices:

2.1. Windows x64 Installer

An .exe file which installs Java in your 64-bit windows machine and makes all necessary
environment entries.

For a normal user, it is the best approach.

2.2. Windows x64 Compressed Archive

A .zip file distribution which you can copy to any location on the computer. In this case,
you need to update all the required environment variables (e.g. PATH, JAVA_HOME, etc.)
yourself.

It is best suited for Java developers who want to keep multiple versions of Java running on
their computers.

After clicking any of the download links, a popup will appear to accept Oracle Technology

2 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

Network License Agreement for Oracle Java SE in order to download this software. Click
on the checkbox and then proceed to download it.

Login to the oracle website if prompted.

3. Installation with .exe File

If we are installing the Java software with the exe file downloaded in the previous section,
follow the given steps.

Step 1. Double-click on exe file to initiate the installation process

Step-1

Step 2. Select Java installation location

Until you have a reason to change the location, let it be the default location.

3 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

Step-2

Step 3. Begin Java Installation

Click on Next button and it will install Java in your 64-bit computer. After the process
complete in a few minutes, the installation wizard will end with a success message.

JDK Installation Finished

4 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

4. Installation with .zip File

This process is more suited for the Java developers community. Using this process, you
can have multiple versions of Java on your computer. So based on the project
requirements, you can choose a different version of any of the projects.

Step 1. Extract the zip archive in desired location

I have unzipped the jdk-14.0.2_windows-x64_bin.zip file in this location: E:


\devsetup\jdk-14.

Unzip the file in desired location

Step 2. Add/Update the environment properties

To find the environment properties window, look for it in the control panel. Or in Windows
10, directly search it in the search box in the taskbar.

5 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

Find environment variables

Add the JAVA_HOME variable and specify the folder path as value, where you unzipped
the downloaded Java package.

Add JAVA_HOME

Now update the PATH variable. Add a new path in the list which is the bin folder inside the
JDK folder.

6 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

The PATH Variable to Edit

Update PATH variable

After both variables are updated, we can validate the Java installation.

7 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

5. Verify Java Installation

Open a new command prompt to verify that Java has been installed on your computer.
Type the below command which will print the version of Java installed on your computer.

> java -version

The command output.

java version "14" 2020-03-17


Java(TM) SE Runtime Environment (build 14+36-1461)
Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

If you get any error in running this command, verify all the steps listed above.

Happy Learning !!

Weekly Newsletter
Stay Up-to-Date with Our Weekly Updates. Right into Your Inbox.

Email Address

SUBSCRIBE

Comments

 Subscribe 

8 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

Be the First to Comment!

{} [+] 

0 COMMENTS

Java Basics

Java Introduction

Installation

Hello World

Naming Conventions

JDK, JRE and JVM

Class and Object

ClassPath

Control Flow

Operators

Data Types

Primitive Types

Variables

Comments

Main() Method

Command Line Args

Wrapper Classes

Statements

Block Statement

System Properties

Static Import

HashCode() and equals()

Immutable Class

9 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

32-bit vs 64-bit

Java.exe vs Javaw.exe

Generate Bytecode

Little-Endian vs Big-Endian

Pass-by-Value Vs. Reference

Recent Posts

Python Read File Line by Line (with Examples)

How to Remove Orphan Entities in Hibernate?

How to Save Child Entities using Hibernate?

Logback.xml File Configuration Example

Hibernate Search Example with Lucene and Spring Boot

�Solved� CommandAcceptanceException: Error executing DDL

Log4j2 YAML File Example

Spring Boot WebClient GET Example

Java Object Equality without Public Fields or Getters

Spring Security One-Time Token Login Example

Lokesh Gupta

A fun-loving family man, passionate about computers and problem-solving, with over 15
years of experience in Java and related technologies. An avid Sci-Fi movie enthusiast and
a fan of Christopher Nolan and Quentin Tarantino.

Follow on Twitter

10 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

11 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

12 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

PREVIOUS

Different Ways to Print a List in Python

13 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

NEXT

Java FileReader

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related


technologies.

It also shares the best practices, algorithms & solutions and frequently
asked interview questions.

Tutorial Series

OOP

Regex

Maven

Logging

TypeScript

Python

Meta Links

About Us

Advertise

Contact Us

Privacy Policy

Our Blogs

14 de 15 17/10/2024, 10:59
How to Install Java on Windows 64 bit Machine - HowToDoInJava https://howtodoinjava.com/java/basics/install-java-on-64-bit-windows/

REST API Tutorial

Follow On:

Copyright © 2024 | Sitemap

15 de 15 17/10/2024, 10:59

You might also like