Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
Not able start Apache start after Installation of ThingWorx Navigate bundle giving errors.
D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23\bin>startup.bat
ECHO is off.
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Env veriable set as
JAVA_HOME= C:\Program Files\Java\jdk1.8.0_192
JRE_HOME= C:\Program Files\Java\jre1.8.0_192
CATALINA_HOME= D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23
Added following details in PATH
C:\Program Files\Java\jdk1.8.0_192\bin;C:\Program Files\Java\jre1.8.0_192\bin;%CATALINA_HOME%\lib
Apache installation directory is - D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23
Any input to fix the issue?
Best Regards,
-Shripad
Solved! Go to Solution.
Hi All,
Thanks for looking in the issue.
I m able to fix the issue by setting JRE home in setenv.bat file.
I don't know is this right way or not , because all all env variables are set properly even the issue was persistence.
Any other input from you guys or comment on my fix?
Best Regards,
-Shripad
Do you see any exception / error log message in catalina.log?
Just to be sure, can you check if the environment variables that you mentioned are recognized in the console that you're running startup.bat from?
Consoles only know the environment variables that were set before the console was started (or those variables that were specifically set in that console with the "set" command).
In that console window, run this command: echo %JRE_HOME%
It should output the path that you mentioned in your post. If it's not recognized it will output "%JRE_HOME%".
Hi All,
Thanks for looking in the issue.
I m able to fix the issue by setting JRE home in setenv.bat file.
I don't know is this right way or not , because all all env variables are set properly even the issue was persistence.
Any other input from you guys or comment on my fix?
Best Regards,
-Shripad