Java Development Environment Configuration

Source: Internet
Author: User

When I configure the j2ee development environment, I feel that there is always something wrong with reading books .. So today we will introduce in detail the configuration of the j2ee development environment and some common development tools and servers.

First of all, regarding jdk installation, this fight in the java learning process has probably been quite familiar, so here is a brief introduction. First of all, I use the windows 7 operating system, so there is a difference with the xp configuration, but it is basically not much different.

Jdk1.7:

Computer --> properties --> advanced system settings --> Environment Variables

First set JAVA_HOME: C: \ Program Files \ Java \ jdk1.7.0

 

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1422192263-0.png "/>

Path: D: \ Program Files \ PHP \; % SystemRoot % \ system32; % SystemRoot % \ System32 \ Wbem; % SYSTEMROOT % \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files \ Common Files \ Thunder Network \ KanKan \ Codecs; % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin; % JBOSS_HOME % \ bin

 

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1422195451-1.png "/>

 

CLASSPATH :.; % JAVA_HOME % \ lib; % JAVA_HOME % \ lib \ tools. jar; % JBOSS_HOME % \ server \ default \ lib \ jsp-api.jar; % JBOSS_HOME % \ server \ default \ lib \ servlet-api.jar

 

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1422196044-2.png "/>

In this way, the basic environment variables of java are successfully set.

Then, enter java in the command line window and then enter javac to verify that your jdk is successfully installed.

 

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1422193D8-3.png "/>

 

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1422191A0-4.png "/>

 

This article from the "program learning path" blog, please be sure to keep this source http://zhylforeverme.blog.51cto.com/1842089/345652

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.