Home > Back-end >  In Oracle's website to download, install JDK1.8, environment configuration (white)
In Oracle's website to download, install JDK1.8, environment configuration (white)

Time:09-22

one, in the official website to download the JDK


website address: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html


here recommend download jdk1.7 or 1.8 version, the company is most used in the two versions


X86 corresponding is 32-bit operating system
X64 corresponding is 64 - bit operating system






note: click on the corresponding connection must be checked after agreed to " review and accept the Oracle Java SE Oracle technology network license agreement "to be redirected to the registration page





register an Oracle account, login Oracle can download (note: Oracle account after download other necessary software also use to)





the building here are to jump to the thunderbolt download





2, JDK1.8



1, double-click the install process, can appear the following interface, click next







2, click on the following page, as shown in the bottom has a JDK installation path, here you can choose what you want to put the position, as its installation location, the building Lord here did not change the (note: remember this path back to use)






3, is waiting to install the JDK,






4, underneath a jre path, here you can choose what you want to put the position, as its installation location, the building Lord here or no change





5, waiting to install





6, here is the JDK installation is successful, then, after the success of the installation is started environment configuration






3, JDK environment variable configuration


& gt; The right mouse button - & gt; Attribute




note: if there is no this desktop computer then do the following:
Start menu - & gt; Settings - & gt; Personalization - & gt; Themes - & gt; Desktop icon Settings in the associated Settings - & gt; Check the computer, & gt; Application - & gt; Determine the



click on "advanced system Settings", click "environment variables"








in the "environment variables" pane of the "new" in the "system variables" don't configuration in user variable} {note:






A variable name (N) : JAVA_HOME
A variable's value (V) : the path of the just install JDK









A variable name (N) : the CLASSPATH
A variable's value (V) :; % JAVA_HOME % \ lib
(note: pay attention to the values of variables symbols don't write wrong)









A variable name (N) : the Path
A variable's value (V) : add: % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin






then sure, don't directly to fork out (note: is the environment variables in the system, not the user variable lanes )



4, test the JDK


1, enter here under the Java - version can view your JDK version, which we can see is the 1.8 version of the JDK





2, press the Windows + R shortcuts, type CMD, reach the terminal dialog box; Enter Java and javac to verify whether installed and can be performed, if appear below the interface is a success



nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related