MyEclipse + Tomcat + Maven + SVN project complete environment construction (Graphic tutorial)

This time, I changed a computer, so I need to reconfigure the project development environment. All kinds of in the process should be recorded for later installation and a reference.

1. JDK installation

First, Download JDK, which can be downloaded from sun's official website. Select 64 bit or 32-bit according to your own system. The installation process is next. After the installation, of course, you should configure the environment variables.

1.1 new variable name: Java_ Home variable value: e: \ Java \ jdk1 6.0_ 43 (this is my JDK installation path)

1.2 edit variable name: path followed by:% Java_ HOME%\bin;% JAVA_ HOME%\jre\bin

1.3 new variable name: classpath variable value:.;% JAVA_ HOME%\lib;% JAVA_ HOME%\lib\dt. jar;% JAVA_ HOME%\lib\tools. jar

(Note: do not add ";" when setting the end of the variable)

After setting, of course, we need to test. Open "run" -- > Enter "CMD" -- > on the command line, enter: Java, and then enter; enter javac, enter, and enter java version. If the following three screens appear, the JDK configuration is successful, otherwise you need to check the configuration of environment variables.

2. MyEclipse installation

I use MyEclipse 2014. After you download it, you can install it all the way. You can choose whether to install 32-bit or 64 bit. After completion, we start MyEclipse and set the working path, or we can directly default. We open window -- > preference, enter JDK, install the following figure, and select the default JRE of eclipse to install for ourselves instead of the one provided by eclipse.

At this point, we can create a java project at will, and then write a HelloWorld to test whether it is correct.

3. Tomcat8 installation

The version of Tomcat I use is 8. You can download it on the official website of Apache, http://tomcat.apache.org/download-80.cgi , I use the installation version, so I don't need to configure anything. If you are lazy, you might as well install the next version. The compressed package version needs to configure its own environment variables. Just ask Du Niang. I'm lazy Excuse me!

See the previous article: https://www.oudahe.com/p/45142/

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>