How to install jdk8: First double-click the exe file and install it step by step according to the default settings; then right-click "This Computer-Properties-Advanced System Settings-Advanced-Environment Variables-New"; then create a new environment variable JAVA_HOME; finally configure the environment variable Path.

Recommended: "java video tutorial"
Win10 system installation jdk8 whole process
Download the installation file
The installation and configuration of jdk is the first step in learning Java. The specific process is recorded below. First download the corresponding version according to your system. Download addresshttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

二 Installation
Double-click the exe file and install step by step according to the default settings.

Three configuration environment variables
Right-click "This Computer" - "Properties" - " Advanced System Settings" - "Advanced" - "Environment Variables" - "New":

## 2. Create a new environment variable CLASSPATH
Variable name: CLASSPATH
Variable value:. ;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar You need to pay attention to the ".;" in front of the variable value

3. Configure the environment variable Path
Double-click Path, click New, add "%JAVA_HOME%\bin"; click New again, add "%JAVA_HOME%\jre\bin".
## Please pay special attention here. The win10 environment variable values are line by line. Do not click New directly. Add "%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin ;", otherwise a "javac is not an internal or external command" error will appear.
At this point the environment configuration is complete~
Four command line windows to view
Win R key The run window pops up, enter the cmd command to open the following window to test whether your Java is successfully installed; test the command Java. If the following message appears, it proves that the Java environment has been configured successfully.
The above is the detailed content of Detailed jdk8 installation tutorial. For more information, please follow other related articles on the PHP Chinese website!

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 Chinese version
Chinese version, very easy to use

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.

Dreamweaver CS6
Visual web development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Zend Studio 13.0.1
Powerful PHP integrated development environment





