问题描述
限时送ChatGPT账号..我安装了 XAMPP 1.7.7,包括:
I installed XAMPP 1.7.7, including:
阿帕奇 2.2.21MySQL 5.5.16PHP 5.3.8phpMyAdmin 3.4.5FileZilla FTP 服务器 0.9.39Tomcat 7.0.21(使用 mod_proxy_ajp 作为连接器).
Apache 2.2.21 MySQL 5.5.16 PHP 5.3.8 phpMyAdmin 3.4.5 FileZilla FTP Server 0.9.39 Tomcat 7.0.21 (with mod_proxy_ajp as connector).
我的所有其他服务都适用于 Tomcat.
My all other services work expect for Tomcat.
我现在做的事情来解决这个问题:我意识到我的计算机上没有 java,因为在命令提示符下没有 java 的路径.所以我安装了 JAVA 1.7.0 并设置了环境路径".
Things that I did right now, to fix this: I realized that I did not had java on my computer, as on command prompt there was no path for java. So I installed JAVA 1.7.0 and also set the "Environment path".
但它仍然没有开始.
任何帮助将不胜感激.
问候泽山
推荐答案
假设是 windows 操作系统,
Assuming windows os,
步骤 1. 创建/编辑环境变量 JAVA_HOME
和 jdk 的路径(重要:- 不是 \bin
,而是 c:\java\jdk_1_7_0
最后不要加分号).
Step 1. Create/edit an environment variable JAVA_HOME
with path to jdk (important:- not to \bin
but just c:\java\jdk_1_7_0
and dont put semicolon at the end).
第 2 步.创建/编辑环境变量 JRE_HOME
和 jre 的路径(重要:- 再次不是 \bin
,而是 \bin
所在的文件夹>bin 的位置,最后没有分号).
step 2. Create/edit an environment variable JRE_HOME
with path to jre (important:- again not to \bin
but just the folder where bin
is located and no semicolon in the end).
步骤 3. 创建/编辑一个环境变量 path
应该像这样添加,
<代码><所有以前的路径内容的 >;%JAVA_HOME%/bin;.;
step 3. Create/edit an environment variable path
that should be added like this,
< all the previous path stuff's >;%JAVA_HOME%/bin;.;
xampp tomcat 分别查找 %JAVA_HOME%
或 %JRE_HOME%
,所以只需设置 path
和 classpath
变量,直到 bin
文件夹,在这里不起作用.它仅适用于标准的 Apache tomcat.
The xampp tomcat looks for %JAVA_HOME%
or %JRE_HOME%
individually, so just setting the path
and classpath
variables, up to the bin
folder, will not work here. It works for standard Apache tomcat only.
此外,您的 xampp 版本默认已禁用用户.通过取消注释 x:\xampp\tomcat\conf\tomcat-users.xml
Also, the your version of xampp have disabled the users by default. Enable it by un-commenting the user part in the x:\xampp\tomcat\conf\tomcat-users.xml
这篇关于启动 Tomcat 附加组件 XAMPP 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论