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