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

Is JAVA_HOME required for Thingworx 8.4?

eyli
12-Amethyst

Is JAVA_HOME required for Thingworx 8.4?

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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

eyli
12-Amethyst
(To:Constantine)

Thanks very much for your help. 

Announcements