Note: The first time to write blog
I included a lot of novice when learning java configuration environment feels very hard!
I record this blog generally configured jdk, tomcat, eclipse, mysql process
1. Configure jdk
In the Baidu search jdk, you can go directly to the official website
Three arrows respectively correspond to fall from the
1. The end of the download is 8u171 odd ending no bug
2. Click Accept License Agreement
3. Click on the corresponding version of the computer system
Download in any drive letter, click Install (personally do not recommend changes to the directory), change the directory jre sometimes an error occurs, it is recommended not to change the installation directory
After the installation is complete, there are two files, one jdk, a jre. You must be in the same directory, as shown in FIG.
Environment variables:
1. Create a new JAVA_HOME variable, the variable value: C: \ Program Files \ the Java \ jdk1.7.0_79 (This is my)
2. Edit the Path variable (in the final surface plus;) % JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin;
3. Create CLASSPATH variable, variable value: ;.% The JAVA_HOME% \ lib;%% the JAVA_HOME \ lib \ the tools.jar
Configuration cmd enter java -version test, following the successful emergence.
2.tomcat
Arrow top to bottom are
1. Select the tomcat 9
2. Select Core core file
3. Select the number of digits corresponding to the system, click to download
tomcat very soon finished downloading, I used to put together tomcat and jdk jre
Configuration tomcat:
1. Create an environment variable CATALINA_HOME variable values :( my example) D: \ tomCat \ apache-tomcat-7.0.65
2. Edit the Path variable back plus % CATALINA_HOME% \ bin
Configuration is complete. I want to change the port number can be configured in the server in the conf
mysql download
I am here is to install mysql version, unzip version also need to configure feel a lot of trouble.
Open official websiteAfter clicking DOWNLOAD
Looking down
Download here .msi suffix version is installed
Then a fool installation on ok