JDK1.8 download and installation (complete graphic tutorial):
Today, we will guide you step by step (pictures and text) to download and install.
1.jdk1.8 download
2.jdk1.8 installation
1. JDK download
Two kinds The first method is to download it from the official website; the second method is to use it, Xiaona will directly give you the network disk address. However, as a Java novice, it is best to learn to download from the official website.
The files downloaded from the official website are the safest. If downloaded from an unreliable third party, the installation package may be missing or a virus or Trojan horse may be planted. Besides, it is possible that one day I install jdk for others or upgrade jdk myself, but I cannot find the network disk address and have to go back and click on skill points.
Search "jdk download" on Baidu (or other search engines), and the first one is the 1.8 download link.
1. Click to enter the download page
Page address: https://www.oracle.com/technetwork /java/javase/downloads/jdk8-downloads-2133151.html
Currently, the official has just made a bug upgrade to 1.8. It is strongly recommended to use the minor version of 191 or 192. Here we choose 8u191.
2. First select Accept Agreement above, and then select the package suitable for your operating system
Here we choose the last windows 64-bit installation package , click jdk-8u191-windows-x64.exe on the right side of the red box to download.
2. jdk installation
Now the installation of jdk is much simpler than various articles on the Internet, let’s get it done.
1. Double-click the downloaded exe file to start the installation. As shown below, click Next.
2. Select the jdk installation directory. It is recommended that you put it on the C drive even if you do not use the default path, unless Your C drive is running out of space.
3. Click Next directly, and the alarm information as shown below will appear.
It can only be said that the recent jdk major version has been updated too quickly, and the official maintenance will be stopped in January 2019. This is not a big deal, 1.7 has been out of official management for a long time, and it is still alive and well.
Click "OK" directly to continue.
#4. Think the installation is over? Another window pops up, and you have to select a folder. It's not a problem with the installation program. If you look carefully, what is installed is not jdk, but jre.
This part is also mentioned in the "Version Selection" article. jre is a package used for runtime and is part of jdk.
If there are no special requirements, there is no need to change the installation directory, click "Next"
5. Finally, a pop-up window will tell you that the installation has been successful. .
#6. However, if you have read other installation articles, they will definitely mention configuring "environment variables".
Let me first explain the role of configuring environment variables, which is to let the operating system clearly know the program and its location. Usually used in command line mode. Under Windows, click the "Start" button in the lower left corner, directly enter "cmd" and press Enter to enter the command line interface.
7. Enter the statement java -version to see the version information of the installed jdk. It prompts that the java version is 1.8.0.191, indicating that the installation is successful.
Then there is a problem. I only typed a java command. How can the system respond to which program is executed? This is the role of environment variables. For configured programs, the operating system can automatically identify them and find the program at the corresponding location to execute.
This brings up another problem. How can we execute the result even though there are no environment variables? In fact, jdk after 1.8 will automatically add environment variables. Therefore, those articles on the Internet that also emphasize configuration are either old jdk versions that are outdated; or they are taken for granted and have no actual installation.
Then let’s take a look at how the environment variables are configured. Right-click the "Computer" icon on the desktop and select "Properties".
Click Advanced System Settings, on the "Advanced" tab, click the "Environment Variables" button below.
Usually add a new environment variable in the path field, double-click to view
#The first one is the path to java. It can be seen that it has been configured.
#OK, there should be no problem with the installation here.
In this career of development, there is nothing you don’t know how to do, so easy!!!
Recommended tutorial: "java tutorial"
The above is the detailed content of JDK1.8 download and installation (complete graphic tutorial). For more information, please follow other related articles on the PHP Chinese website!

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于结构化数据处理开源库SPL的相关问题,下面就一起来看一下java下理想的结构化数据处理类库,希望对大家有帮助。

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于PriorityQueue优先级队列的相关知识,Java集合框架中提供了PriorityQueue和PriorityBlockingQueue两种类型的优先级队列,PriorityQueue是线程不安全的,PriorityBlockingQueue是线程安全的,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于java锁的相关问题,包括了独占锁、悲观锁、乐观锁、共享锁等等内容,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于多线程的相关问题,包括了线程安装、线程加锁与线程不安全的原因、线程安全的标准类等等内容,希望对大家有帮助。

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于枚举的相关问题,包括了枚举的基本操作、集合类对枚举的支持等等内容,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于Java的相关知识,其中主要介绍了关于关键字中this和super的相关问题,以及他们的一些区别,下面一起来看一下,希望对大家有帮助。

封装是一种信息隐藏技术,是指一种将抽象性函式接口的实现细节部分包装、隐藏起来的方法;封装可以被认为是一个保护屏障,防止指定类的代码和数据被外部类定义的代码随机访问。封装可以通过关键字private,protected和public实现。

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于平衡二叉树(AVL树)的相关知识,AVL树本质上是带了平衡功能的二叉查找树,下面一起来看一下,希望对大家有帮助。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

WebStorm Mac version
Useful JavaScript development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
