Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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?
Solved! Go to Solution.
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
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
Thanks very much for your help.