Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
164 views

Java - Download and Install JDK 10 On Windows PDF

This document provides instructions for downloading and installing Java Development Kit (JDK) version 10 on Windows. It explains that Java is a programming language that runs on any system with a Java virtual machine. It then outlines the steps to download the JDK 10 installer from Oracle's website, run the installer, set up the JAVA_HOME and PATH environment variables to allow Java programs to run, and verify the installation by checking the Java version.

Uploaded by

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

Java - Download and Install JDK 10 On Windows PDF

This document provides instructions for downloading and installing Java Development Kit (JDK) version 10 on Windows. It explains that Java is a programming language that runs on any system with a Java virtual machine. It then outlines the steps to download the JDK 10 installer from Oracle's website, run the installer, set up the JAVA_HOME and PATH environment variables to allow Java programs to run, and verify the installation by checking the Java version.

Uploaded by

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

Java - Download and Install JDK 10 on Windows

3 minute read

Java (https://www.java.com/en/) is a computer programming language that is concurrent, class-based


and object-oriented. It was originally developed by James Gosling at Sun Microsystems. Java
applications are compiled to bytecode (class file) that can run on any Java virtual machine (JVM)
regardless of computer architecture.

Java is currently owned by the Oracle Corporation which acquired Sun Microsystems in 2010.
Following tutorial will show you how to setup and configure Java 10 on Windows so you can
develop and run Java code.

Check following posts if you are looking to download and install JDK 1.5
(https://codenotfound.com/java-download-install-jdk-5-windows.html), JDK 1.6 (https://codenotfound.com/java-
download-install-jdk-6-windows.html), JDK 1.7 (https://codenotfound.com/java-download-install-jdk-7-
windows.html), JDK 1.8 (https://codenotfound.com/java-download-install-jdk-8-windows.html) or JDK 1.9
(https://codenotfound.com/java-download-install-jdk-9-windows.html).

JDK Download & Install


Java can be obtained from the Oracle Java download page. There are a number of different Java
packages available (https://docs.oracle.com/javaee/6/firstcup/doc/gkhoy.html), for this tutorial we will be
installing Java Standard Edition (SE) on Windows.
In order to be able to compile Java code, we need the Java Development Kit (JDK) package that
comes with a Java compiler. The JDK package also comes with a Java runtime environment (JRE)
that is needed to run compiled Java code.

As we are installing the latest Java version, you can find it at the top of the Oracle Java download
page (http://www.oracle.com/technetwork/java/javase/downloads/index.html). Click on the  Download  button
right below  JDK .

Here is the direct link to download the jdk 10.0.1 installer for Windows 64 bit
(http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html).

Accept the License Agreement and pick the correct download for your operating system. In this
example, we will use the Windows 64 bit version.

Sign in using your Oracle account (or create a new one) and the download should start. Once the
download is complete, locate the  jdk-10.0.1_windows-x64_bin.exe  file and double-click to run the
installer.
Click  Next  and on the following screen optionally change the installation location by clicking on
the  Change...  button. In this example the default install location of  'C:\Program Files\Java\jdk-
10.0.1\'  was kept. From now on we will refer to this directory as:  [java_install_dir] .
We will not install the public JRE as the JDK Development tools include a private JRE that can run
developed code. Select the  Public JRE  dropdown and click on  This feature will not be
available.  as shown below.
Click  Next  and then  Close  to finish installing Java.
JDK Configuration
In order for Java applications to be able to run we need to setup a  'JAVA_HOME'  environment
variable that will point to the Java installation directory. In addition, if we want to run Java
commands from a command prompt we need to setup the  'PATH'  environment variable to contain
the Java bin directory.

When using Windows the above parameters can be configured on the Environment Variables panel.
Click on the  Windows Start  button and enter “env” without quotes as shown below.
Environment variables can be set at account level or at system level. For this example click on  Edit
environment variables for your account  and following panel should appear.
Click on the  New  button and enter “JAVA_HOME” as variable name and the  [java_install_dir]  as
variable value. In this tutorial the installation directory is  'C:\Program Files\Java\jdk-10.0.1' .
Click  OK  to to save.
Click on the  New  button and enter “PATH” as variable name and “%JAVA_HOME%\bin” as variable
value. Click  OK  to save.

Note that in case a  'PATH'  variable is already present you can add “;%JAVA_HOME%\bin” at
the end of the variable value.
The result should be as shown below. Click  OK  to close the environment variables panel.
In order to test the above configuration, open a command prompt by clicking on the Windows Start
button and typing “cmd” followed by pressing  ENTER . A new command prompt should open in
which the following command can be entered to verify the installed Java version:

java -version

The result should be as shown below.


This concludes the setting up and configuring JDK 10 on Windows.

If you found this post helpful or have any questions or remarks, please leave a comment.

Tags: Download Install Java jdk 10 JDK Tutorial Windows


Categories: Java

Updated: May 01, 2018

LEAVE A COMMENT
Sponsored

Take A Closer Look, The Photographer Was Not Expecting This Photo
Gadgetheory

Work For a UK Company, Live in Cameroon


Best Paid Jobs

Mom Gives Birth To 7 Babies Where Are They 20 Years Later?


Dailyforest

30 Wedding Photos That Went Horribly Wrong


Gloriousa

Man Divorces His Wife Completely Unaware She Just Won The Lottery
Cleverst

40 Women From The 90's Everyone Had A Crush On


Sizzlfy

Mom Belly Keeps Growing, Doctor Sees Scan And Calls Cops
Beach Raider

9 Comments codenotfound 🔒  Ava

R d tT f Sh Sort by Best
 Recommend 2 t Tweet f Share Sort by Best

⚠ codenotfound requires you to verify your email address before ×


posting. Send verification email to agienpetra@gmail.com

Join the discussion…

chinna

2 years ago
Hi,
i have installed jdk 1.10 i am unable to change version in eclipse
Can i know how can i do
△ ▽ Reply
codenotfound > chinna

2 years ago
Hi,

Please check this thread on StackOverflow and let me know if it


helped: https://stackoverflow.com/q...

△ ▽ Reply
chinna

2 years ago

Hi,
i have downloaded jdk 1.10 but in eclipse i am unable to change the
version.
△ ▽ Reply
codenotfound > chinna

2 years ago
See answer above.

△ ▽ Reply
TEMITOPE OYEYEMI

2 years ago

even on the website there is no link for dowloading jdk 10 for 32 bits
system would this still works on a 32 bits laptop
△ ▽ Reply
codenotfound > TEMITOPE OYEYEMI

2 years ago
Hi,

No this would not work.

There is no 32-bit Java 10 distribution from Oracle (also for future


(
releases it is not foreseen). There are a few companies which offer a
32-bit support though (like https://www.azul.com/downlo....
1△ ▽ Reply
TEMITOPE OYEYEMI > codenotfound

2 years ago
thanks bro

△ ▽ Reply
minal patil

3 years ago
thank you so much....it was very useful.

△ ▽ Reply
codenotfound > minal patil
3 years ago

Thanks for the kind words, glad it was helpful.

△ ▽ Reply

✉ Subscribe d Add Disqus to your siteAdd DisqusAdd


⚠ Do Not Sell My Data

You might also like