Java SDK download method

1. Download JDK

Download Links: Click the link to open (http://www.oracle.com/technetwork/java/javase/downloads/index.html)

 



After the download is successful this file: Double-click to open, enter the installation

 



Installed in C drive or other disk, little to do, remember mounted in any position on the line, wait a minute because you want to add environment variables. All the way to installation -
2. Configure environment variables

Desktop - My Computer - Right Properties - Advanced Settings - Environment Variables
some computers is open: Start - Control Panel - System and Security - System

 

 



(1) New JAVA_HOME: jdk location where

 



(2) Create the CLASSPATH:;.% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ tools.jar

        (the front is a point and a semicolon, no mistake !!!)

 



(3) was added to a path:% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin;

 



3. Check whether the installation was successful

open cmd, enter java or javac, the command list can appear

 



Or run the program with a XX.java

 



4. You can continue to install some high-level compilers, such as editplus, eclipse, android studio what
---------------------
Author: West Lulu
Source: CSDN
original : https: //blog.csdn.net/qq_39915585/article/details/81042411
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/qjuly/p/11028651.html