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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Is JAVA_HOME required for Thingworx 8.4?

eyli
14-Alexandrite

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?

ACCEPTED SOLUTION

Accepted Solutions
Constantine
17-Peridot
(To:eyli)

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
Constantine
17-Peridot
(To:eyli)

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
14-Alexandrite
(To:Constantine)

Thanks very much for your help. 

Announcements


Top Tags