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: 

Installer - Do JDK Prechecks Before Copying Files and Installing Services

Installer - Do JDK Prechecks Before Copying Files and Installing Services

Given that JDK and JRE Checks only happen after the installer moves to installing the Service (near the end of the process)

 

Suggestion is that the JDK and Java Home is checked before copying files (fail early fail cheap) 

 

This means that users can fix those issues

 

Checks I think that need to be performed

 

  • Check JAVA_HOME is present
  • Check JRE subfolder is present
  • Check Java.exe is executable (e.g. returns something). For example java -version returns a version

I can give you a PowerShell Script if needed

3 Comments
nsampat
16-Pearl

Ahaw02rockwell,

 

Thank you for submitting your idea to the PTC Community.

 

You have this post labeled for ThingWorx Platform; so I just wanted to verify with you if you also meant ThingWorx Analytics or just the Platform.

 

If you are referring to ThingWorx Analytics, Analytics Server installer already performs this check prior to the installation of the application.

 

Regards,

 

Neel

 

 

ahaw021rockwell
6-Contributor

Hi Neel

 

This is for Thingworx Foundation.

 

Andrei

olivierlp
Community Manager
Status changed to: Delivered

As of 9.2, the installer checks for compatible Java versions first before installing ThingWorx.