Skip to main content
14-Alexandrite
February 21, 2020
Solved

Is JAVA_HOME required for Thingworx 8.4?

  • February 21, 2020
  • 2 replies
  • 1060 views

I have been using Thingworx foundation 8.4 installed on a Windows server machine. I just found there are no environment variables like JAVA_HOME and JRE_HOME defined on this server. It looks Thingworx works fine. 

I also found a JavaHome key likely defined for Thingworx in the registry item "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Prorun 2.0\thingworxServer\Parameters\Jave\". Can anyone help explain if the JAVE_HOME environment variable is a must-have?

Best answer by Constantine

Hello,

 

It really depends on how you run it. If you wrap your Tomcat process in a Windows service via procrun facility (https://commons.apache.org/proper/commons-daemon/procrun.html), then it will handle environment variables for you (that's what you see in your registry). If you simply execute Tomcat as a standalone command line application, then you would need to supply those environment variables.

 

/ Constantine

2 replies

18-Opal
February 24, 2020

Hello,

 

It really depends on how you run it. If you wrap your Tomcat process in a Windows service via procrun facility (https://commons.apache.org/proper/commons-daemon/procrun.html), then it will handle environment variables for you (that's what you see in your registry). If you simply execute Tomcat as a standalone command line application, then you would need to supply those environment variables.

 

/ Constantine

eyli14-AlexandriteAuthor
14-Alexandrite
February 25, 2020

Thanks very much for your help.