While installing the Apache Tomcat, when I'm choosing the path for Java, it shows error like "No Java Virtual Machine found in folder". How can I solve this issue and where can I download essential file to install tomcat. Any Solution??
Probably your problem related to wrong JAVA_HOME
setting.
In Windows, from Command Line you can just type set ja
and ensure that JAVA_HOME
points to correct Java installation
我知道这很晚了,但可能对某人有用,apache tomcat需要在您的计算机上安装JRE,这是oracle for jre 8的链接: https : //www.oracle.com/technetwork/java/javase/ downloads / jre8-downloads-2133155.html
You need to use the root of your java folder in the Tomcat installation wizard.
So use C:\Program Files\java\jdk-11.0.15.10-hotspot
or equivalent. Do not point to inner directories like \bin
or \bin\server
& \bin\client
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.