1. Remember a failed CAS build and environment configuration_PHP tutorial

WBOY
Release: 2016-07-13 10:27:19
Original
775 people have browsed it

============================================== ================================================== ===========

Setp1: Install JDK, Tomcat, and related associations:: Reference: http://jingyan.baidu.com/article/8065f87fcc0f182330249841.html

================================================== ================================================== ========

1. Install Tomcat server

下载地址:http:<span>//</span><span>tomcat.apache.org/</span>
Copy after login

2. Install JDK1.7

下载地址:http:<span>//</span><span>www.oracle.com/technetwork/java/javase/downloads/index.html</span>
Copy after login

3. Configure the environment variables related to JDK and Tomcat to associate JDK with Tomcat

JDK:

1,JAVA_HOME,变量值:C:\Program Files\Java\jdk1.7.0
2,PATH:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
3,CLASSPATH:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar

Tomcat:
1,CATALINA_BASE,变量值:Tomcat根目录
2,CATALINA_HOME,变量值:Tomcat根目录
3,PATH:%CATALINA_HOME%\lib;%CATALINA_HOME%\bin
Copy after login

4. Start Tomcat service

<span>CMD开启tomcat服务命令:startup

PS:关闭服务命令默认为shutdown,似乎跟window下的shuwdown冲突了,可以到tomcat的bin目录下把shutdown.bat改名为别的就可以了</span>
Copy after login

5. Check whether JDK is installed normally

检测命令:javac,java,javadoc
版本查看:java -version
以上均有值返回就是正常的了!
Copy after login

6. Enter into the browser: http://localhost:8080. If you can see the startup page, it proves that the installation is successful!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/818153.htmlTechArticle======================== ================================================== =============================== Setp1: Install JDK, Tomcat, and related associations::Reference: http://jingyan .b...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template