Skip to main content
1-Visitor
September 28, 2019
Question

java home path error in thingworx foundation installer 8.4

  • September 28, 2019
  • 3 replies
  • 3407 views

I'm trying to install thingworx foundation 8.4 using postgres installer. It is failed due to some error, the below content is in log file

 

Executing sc
Error running sc query Thingworx-Foundation: Program ended with an error exit code
[16:20:13] - Valid Java executable path: C:/Program Files/Java/jdk1.8.0_92/jre/bin/java.exe...

[16:20:13] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK18~1.0_9\jre...

3 replies

19-Tanzanite
September 30, 2019

@effpt3 

Could you please upload the complete install log file ?

 

Thank you

Christophe

 

effpt31-VisitorAuthor
1-Visitor
October 3, 2019

please find the logs in the attached file

16-Pearl
October 2, 2019

@effpt3  Is your JAVA_HOME pointing to the JRE directory?

 

Have you had an opportunity to review these articles?

1. CS295224

2. CS300950

 

Thanks,

Vibhuti

effpt31-VisitorAuthor
1-Visitor
October 3, 2019

I referred the above 2 article and my Environment variable are:

 

JAVA_HOME  is set to --> C:\Program Files\Java\jdk1.8.0_92

PATH is set to --> C:\Program Files\Java\jdk1.8.0_92 ; C:\Program Files\PostgreSQL\9.4\bin

 

still I'm getting the same issue.

Support
October 3, 2019

Hi @effpt3.

 

I encountered this problem with the SQL Server installer and we had to do two things:

 

  1. Remove the JAVA_HOME variable (you should be able to add this back after the install completes if needed)
  2. Add two statements to the path--one for the java runtime and a second one for the java runtime bin folder.  In your case that would be:  C:\Program Files\Java\jre1.8.0_92\bin and C:\Program Files\Java\jre1.8.0_92

 

If you have other java versions installed, these may be interfering with the install if they are included in the Path.

 

Regards.

 

--Sharon

Support
October 16, 2019

Hi @effpt3.

 

Just following up to see if you have resolved your issues with the ThingWorx Foundation 8.4 installer.  If so, please post the solution here and mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon