WIN7 system Java EE (Java) Environment Configuration tutorial (i) _java

Source: Internet
Author: User
Tags java web

The first thing to do before developing a Java Web environment is to build a development environment, build a successful development environment, and then test the entire development environment by writing a simple JSP program to run on the Tomcat application server.

Tools/raw Materials:

jdk-8-windows-i586

Tomcat-7.0.54

Eclipse

WIndos7

Java configuration:

First download the installation JDK installation package, download the address http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. Download the appropriate version based on your operating system.

Double-click on the JDK installation package to next

Change the JDK installation path, generally not installed in C disk, you can change the installation of other letter. Click the "Change" button to select the relevant path.

Click "Next".

Change the JRE installation path and keep the JDK under one path. Click the "Change" button to select the installation path.

Click "Next"

When you have finished loading, click Close.

To configure Java environment variables:

Right-click My Computer---Properties-----advanced system Settings---environment variables

Configuration: Java_home:

Select New System Variable--pops up the new User Variable dialog box, enters "Java_home" in the Variable name text box, enters the JDK installation path (the folder path for step 5) in the Variable Value text box, and clicks the OK button.

Configuration: Path Variable value:

View the path variable in the System Variables option area, or if it does not, create a new path, or select the variable, click the Edit button, and add the%java_home%\bin at the beginning of the variable value text box; Click OK button

To configure the Class_path variable value:

View the CLASSPATH variable in the System Variables option area, or if it does not, create a new variable classpath, or select the variable, click the Edit button, and add the starting position of the variable value text box.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; ".

Note: do not throw away the front ".;"

After configuring, click OK. Test environment variables are configured successfully or not. Enter "JAVAC" in the DOS command Line window, and the output Help information is configured correctly.

The above is the WIN7 system Java EE Environment Configuration tutorial in the previous chapter, I hope to help you learn, but also hope that we support the cloud habitat community.

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.