After win10 reinstall the system, Java development environment configuration

1, partition

Habit (D: storage company, office related; S / Z: Personal-related files)

(How to display the desktop "My Computer": fill behind)

My computer - right click - Management - Storage - Disk Management

Selected region (C region) to points - Right - compression coil - input compression space (100G = 102400MB); in this case, "Unassigned" state

After sharing, right - New Simple Volume - Next time you can choose a custom name to the area of ​​the disk, and then the next step has been completed to

 

2, installation of Google (do not install the wrong, very slow speed generally are not)

 

3, with the Java environment, install maven

********* ****** install JDK environment

1、下载JDK:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Choose your own version of the computer, basically win10 * 64 bit, the need to log Oracle account, there is no need to create a (JDK download speed is slower)

Once you have downloaded, double-click the .exe file, the next step has been to

After installation, there tutorials, API documentation, are interested can look at: https://docs.oracle.com/javase/8/docs/

 

window + R input cmd, open a command line window, the input interface in java -version, has been successfully installed to see;

Continue to enter the java command, it is also possible, but not now enter javac command prompt is

2, with an environment variable

My computer → Right → Properties → Advanced System Settings → Environment Variables

 

In the System variables inside:

1, the new variable JAVA_HOME, variable values, browse the directory to find just jdk installation directory C: \ Program Files \ Java \ jdk1.8.0_211, be determined

2, then the CLASSPATH variable to create a new, variable value ";.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar;" system variables, and pay attention to the front of the dot are all semicolon of

3, then open the "Path" System Variables, click New, add "% JAVA_HOME% \ bin" and "% JAVA_HOME% \ jre \ bin" two system variables. Path java command so that the system can recognize at any path

Remember Done

Inside the command prompt, and then enter javac, it is normal

Details Reference: https://www.cnblogs.com/shirley-0021/p/8510051.html

*************** loaded maven ***********

Download: http://maven.apache.org/download.cgi

Select Binary zip archive (Link) following version; down downloads

== "" to install the compression software, here is the WinRAR (EX! Automatically installed on your computer to the housekeeper, a key installation can go inside!)

1 in D drive new Maven folder, the maven compressed file copy over, and you can extract

2, configure the environment variables (system variables) M2_HOME, the variable value is just maven installation directory, which is extracted directory;

And then in the System variables found under the column Path click Edit, click New , fill in%M2_HOME%\bin

--- open the console, enter mvn -v, normal display installation is successful!

== "Installing EditPlus: http://www.zdfans.com/html/18716.html , very detailed, extracting passwords are, you can follow the steps to

3, modify the maven repository address, find your Maven installation location, open the conf directory setting.xml

Change to automatic warehouse location first download jar package, instead of domestic Ali

Then the local maven local repository, change the location of their definition

Specific reference: https://blog.csdn.net/qq_37904780/article/details/81216179

4, installation IDEA

。。。

 

 

Guess you like

Origin www.cnblogs.com/zz-3m23d-begining/p/11027710.html