The system cannot find the file C:\Program.

cancel
Showing results for 
Search instead for 
Did you mean: 
Lino17
Partner

The system cannot find the file C:\Program.

Hi

I have downloaded Java 11.20. from RedHat and it is in the location stated in the Variable JRE_HOME.

When I start tomcat I get the error : The system cannot find the file C:\Program. 

The console looks like this:

C:\tomcat700\bin>startup.bat
Using CATALINA_BASE: "C:\tomcat700"
Using CATALINA_HOME: "C:\tomcat700"
Using CATALINA_TMPDIR: "C:\tomcat700\temp"
Using JRE_HOME: "C:\Program Files\RedHat\java-11-openjdk-11.0.20-1\"
Using CLASSPATH: "C:\tomcat700\bin\bootstrap.jar;C:\tomcat700\bin\tomcat-juli.jar"
Using CATALINA_OPTS: ""
The system cannot find the file C:\Program.

 

When I run the following, I do get it to navigate into the folder

C:\tomcat700\bin>cd "%JRE_HOME%"

 

I am currently not sure Why I get this error if anyone has a solution please Help