WIN7 system Java EE (java+tomcat7+eclipse) environment configuration

Source: Internet
Author: User
Tags java web


Https://jingyan.baidu.com/article/3a2f7c2e62d25e26afd611fa.htmlWIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 1win7 system Java EE (java+tomcat7+eclipse) environment configuration 2win7 system Java EE (java+tomcat7+eclipse) environment configuration 3win7 system Java EE (java+tomcat7+ ECLIPSE) Environment Configuration 4win7 system Java EE (java+tomcat7+eclipse) environment configuration 5win7 system Java EE (java+tomcat7+eclipse) environment configuration 6win7 system Java EE (java+ TOMCAT7+ECLIPSE) Environment Configuration 7 Step-up reading before the development of Java Web environment, the first thing to do is to build the development environment, the development environment to build a successful, next is to test the entire development environment, you can write a simple JSP The program is published to the Tomcat application server to run. Tool/Material Jdk-8-windows-i586tomcat-7.0.54eclipsewindos7java configuration


1.First download install JDK installation package, http://www.oracle.com/technetwork/java/ Javase/downloads/jdk8-downloads-2133151.html. Download the appropriate version according to your operating system. WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 

2.Double-click the JDK installation package, click Next WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment Configuration 

3.Change the JDK installation path, generally not installed on the C drive , you can change the installation in other drive characters. Click the "Change" button to select the relevant path. WIN7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) environment configuration 

4.Click Next. WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 

5.Change the JRE installation path, and the JDK remains under one path. Click on the "Change" button to select the installation path. WIN7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) environment configuration 

6.Click "Next" WIN7System Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) environment Configuration 

7.After you have finished loading, click Close. WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment Configuration

8.Configure Java Environment variables: Right-click My Computer---Properties-----advanced system Settings---Environment variables WIN7 system Java EE (java+ TOMCAT7+ECLIPSE) Environment Configuration WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) environment Configuration 

9.configuration: java_home: Select "New System Variable"--pops up the "New User Variable" dialog box, and in the "Variable name" text box, enter " Java_home, in the Variable Value text box, enter the installation path for the JDK (step 5 of the folder path), click the OK button, WIN7 the system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+ TOMCAT7+ECLIPSE) Environment Configuration 

10.configuration: Path Variable Value: View path variable in the System Variables option area, create a new variable path if it does not exist, otherwise select the variable, click the Edit button, and add "%java_" at the beginning of the Variable Value text box Home%\bin; Click the OK button WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 

11.Configure the Class_path variable value: View the CLASSPATH variable in the System Variables option area, if it does not exist, Create a new variable classpath, otherwise select the variable, click the Edit button, and in the start position of the Variable Value text box, Add.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; ". Note: Do not drop the ".;" Front. WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment Configuration 

12.Complete the above, click OK. The configuration of the test environment variable is successful or not. Enter "JAVAC" in the DOS command line window and the output Help information is configured correctly. WIN7 system Java EE (java+tomcat7+eclipse) environment configuration endtomcat configuration 

1)download tomcat7.0;:http://tomcat.apache.org/download-70.cgi; Download the appropriate version according to your system. WIN7 system Java EE (java+tomcat7+eclipse) environment configuration 

2)Download the compressed package, unzip to a hard drive root directory, I extracted to the D packing directory. WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment Configuration 

3) Configure Tomcat environment variables: Right-click My Computer---Properties-----advanced system Settings---Environment variables 1, new user variable name: Catalina_ BASE, Variable value: D:\apache-tomcat-7.0.542, new user variable name: catalina_home, Variable value: D:\apache-tomcat-7.0.353, open path, add variable value:%catalina_ home%\lib;%catalina_home%\binwin7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 

4.)Start the Tomcat Service: Method Two: 

a)method one: Enter the command under the cmd command: Startup, the following dialog box appears, indicating that the service started successfully. 

b) Method Two: Enter the command under the cmd command: Catalina Run, the following dialog box appears, indicating that the service started successfully. WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration 5 test Tomcat: Open the browser, enter the http://localhost:8080 carriage return in the address bar, and if you see a JSP page from Tomcat, Indicates that your tomcat has been successfully built. WIN7 system Java EE (java+tomcat7+eclipse) environment configuration endeclipse configuration download eclipse3.7_win7_64 bit decompression version, go to the official website http://www.eclipse.org/ downloads/, click Donwload to enter the download page. The download on the two graphs can be entered on the download page: WIN7 system java EE (java+tomcat7+eclipse) environment configuration, select the for Java EE developers version, Note A problem: Choose 64-bit and 32-bit editions according to your system version to download the WIN7 system Java EE (java+tomcat7+eclipse) environment configuration download, you will get a zip file, unzip the file to any directory on your computer, and then open this directory , there is a Eclipse.exe file, double click on this file, you can start your Eclipse WIN7 system java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (Java+TOMCAT7+ECLIPSE) Environment configuration startup process will show a workspace dialog box, the workspace is used to store your project files, you can use the program default, click OK, you can also re-select a folder to store your files, then click to browse, Reassign the directory where your project files are stored: WIN7 system java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment Configuration Configuration Association Tomcata. Click Window---"Preferences"---"Server"---"Runtime environment" WIN7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (JAVA+TOMCAT7+ECLIPSE) Environment configuration Click "ADD"--Select the corresponding Tomcat version---"Next"---"Browse. "Select the path of Tomcat decompression---" OK "------" Finish "WIN7 system java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) Environment Configuration WIN7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+eclipse) environment configuration WIN7 system Java EE (java+tomcat7+ ECLIPSE) environment configuration to this point, the Java EE Development environment has been built, now you can build a Web engineering test it. If you do not understand, please pay attention to follow-up experience.


WIN7 system Java EE (java+tomcat7+eclipse) environment configuration


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.