Tomcat is a very easy to use open source and free java web server, a project launched by the Apache Software Foundation. However, the installation and configuration of Tomcat is a bit complicated, many users can not operate correctly, this article will give you a detailed description of the detailed process of Tomcat installation and configuration.
java environment configuration
1, configured java environment should have learned of it, here simply to talk about.
Download and install the java JDK, pay attention to the installation path, we need to configure the environment variables.
2, after the installation is complete, configure the environment variables;
configuration environment variables here to Win7 Example: Right-click the computer & mdash; & mdash; attribute & mdash; & mdash; Advanced System Settings.
3, click the following environment variables, variables in the system after entering a bar click New, and then enter the following:
Name: JAVA_HOME
Variables value: just install path
4, at the top of a column click New, reads as follows:
name: CLASS_PATH
variable value: .;%JAVA_HOME%\\lib;%JAVA_HOME%\\lib\\tools.jar (Note: there is a small dot in front)
It is important to note that all symbols are in English.
5, there is a system environment variable path environment variables, select Edit When selected, added to it to set the JAVA_HOME as: add the final;% JAVA_HOME% \\ bin; < Br>
6, test the java environment is configured successfully
Press Win+R, enter cmd to call up the command control window. Enter: java -version to see if the version is displayed.
installation configuration Tomcat
1, download Tomcat file (click to enter the official website), the file is an exe file to install, and can be installed directly after downloading.
2, pay attention to the installation directory when installing the same, because one would have to configure and java as environment variables. Also open the configuration window for the environment variable and click New in the System Environment Variables column.
3, enter as follows:
variable name: CATALINA_HOME
Variable values: the path just installed
4, arranged to test whether the installation Success
Locate the bin folder under the Diablo path, find the executable file inside, run it, and then do the following.
Open your browser and type http://localhost:8080. If the following instructions are successful.
Eclipse configuration
1, download the latest version of Eclipse, unpacked, you do not need to install.
2, run the Eclipse program file, open the Eclipse work interface.
Select window——preferences from the menu bar.
3, select the left side of the server & mdash; & mdash; runtime environment & mdash; & mdash; in the pop-up window, select add & mdash; & mdash; you can then select the version of Tomcat.
4, select Tomcat path and java version to complete the configuration.
The above is the installation of Tomcat, and also explains how to configure the environment variable, because the process is more complicated operation, so users must pay extra attention when mounting configuration, as long as the operation would be the wrong step Causes the installation to fail.
A lot of friends have encountered a blue screen error code 0x000000D1 when using Wi
Users in the windows 7 system screenshot video screen is found to be black picture effect, Windows7
I believe everyone knows and is familiar with Word Office software. Some people have contact with it
Installation Win7 system error code 0x800700B7 solution 1, change the settings, display the systems
How does Win7 cancel the disabled add-on? Cancel the method of disabling add-ons
Win7 system open IE11 pop up offline work window how to do?
Notebook can't connect to wifi
Win7 Ultimate system desktop has white squares how to solve
Win7 system can not open jpg format image processing method
How to upgrade Win7 Home Edition to the flagship version?
How does the Win7 system change the desktop background?
How to set the win7 system taskbar to remove the NVIDIA icon
Windows 7 Local Connection Restricted or No Connection Solution
How does the Win7 system adjust the monitor screen contrast?
How to close the transparency effect of Win7 system
Wubi typing tutorial - five strokes simple code practice
WinXP right-click menu to add the "Open with Notepad" option
Meitu Xiuxiu quickly creates a fresh style
How to do Win3 system Direct3d function is not available
Win10 PC version creator update preview version 14986 push update content summary