Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. 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.