If the paths contain spaces, surround them with double quotes "
Apache Tomcat startup does not find neither JDK or JRE
-
18-10-2022 - |
Question
I need Apache Tomcat to run jsp projects in Eclipse on Windows 8.1 (64 bits).
I have installed both Java (jre and jdk) and Eclipse in Program Files. And Tomcat in Program Files (x86).
Also I have created both JAVA_HOME and JRE_HOME environment variables. But when I run tomcat's startup.bat, it returns me the next message: "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variables is needed to run this program".
What Im doing wrong? I must install all programs in one of the two Program Files (x86 or normal)? I must specify the Program Files type in the environment variable somehow?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow