Build a java web development environment and build a java web Development Environment

Source: Internet
Author: User

Build a java web development environment and build a java web Development Environment

I recently started to study java Development. The last time I got in touch with java was three years ago. Now I have signed up for the pusoft training course organized by the company to participate in java android development. On the one hand, I am interested in android development. On the other hand, I want to try something new to better understand C #.

To do well, you must first sharpen your tools. Not to mention nonsense. It is king to run a hello world first. This article describes jdk installation and configuration, tomcat installation and configuration, and eclipse installation and configuration.

I. jdk installation and configuration

Jdk: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Jdk has many versions, such as linux, mac, and windows. I use win7 64-bit. By default, the installation directory is c: \ java.

The environment variable configuration is as follows:

Under the Windows XP system, right-click my computer and choose Properties> advanced system Settings> environment variables"

In "system variable (S )"

New: JAVA_HOME: C: \ java \ jdk

New: CLASS_PATH:.; % JAVA_HOME % \ lib

Edit: PATH: Add % JAVA_HOME % \ bin at the beginning;

 

After creating the environment variable, open cmd and enter "java-version" to verify whether the installation is successful.

C: \ Users \ Administrator> java-versionjava version "1.8.0 _ 25" Java (TM) SE Runtime Environment (build 1.8.0 _ 25-b18) Java HotSpot (TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

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.