Skip to main content
1-Visitor
November 4, 2020
Solved

Installation Fails : Thingworx foundation Trial H2

  • November 4, 2020
  • 3 replies
  • 4138 views

Hi Team,

    I am using windows 10  64 Bit Enterprise version. When I trying to install "ThingWorx-Foundation-Installer-h2-trial-Windows-9-0-0" it ended up with some error message.

 

My java version is :

C:\Users\eaz>java -version
             java version "1.8.0_162"
            Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
            Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)

 

 Here I attached the error message and error log file.

 

Best answer by Jimwang

@AE_9699465

 

1> From the log file you attached, it appears that the Installer is using the below JDK:

  --- C:/Program Files/Java/jdk-9.0.1/bin/java.exe

Per the path name, it sounds like that it is JDK 9.0 instead of 1.8.0_162. Please check your system environment variable PATH and JDK_HOME to make sure it points to the correct JDK/JRE version

 

2> Have you tried to install Thingworx on the system before? It seems that the below is already there. If you try to reinstall it again, check the below path and delete it if it is there before you re-install.

      D:\Program Files (x86)\ThingWorxFoundationH2Trial.

 

3> Run the installer with "Run As Administrator"

 

3 replies

Community Manager
November 4, 2020

Hi @AE_9699465.

 

Did you run the installer as Administrator?

 

Regards.

 

--Sharon

1-Visitor
November 5, 2020

Ya...yes..Installed by run as Administrator .

Jimwang16-PearlAnswer
16-Pearl
November 5, 2020

@AE_9699465

 

1> From the log file you attached, it appears that the Installer is using the below JDK:

  --- C:/Program Files/Java/jdk-9.0.1/bin/java.exe

Per the path name, it sounds like that it is JDK 9.0 instead of 1.8.0_162. Please check your system environment variable PATH and JDK_HOME to make sure it points to the correct JDK/JRE version

 

2> Have you tried to install Thingworx on the system before? It seems that the below is already there. If you try to reinstall it again, check the below path and delete it if it is there before you re-install.

      D:\Program Files (x86)\ThingWorxFoundationH2Trial.

 

3> Run the installer with "Run As Administrator"

 

1-Visitor
November 5, 2020

Thanks for your information.

Ya Yes. Run the installer as a "Run As Administrator".

After uninstalling JDK-9.0.1, it's installed fine.

Thanks ...

1-Visitor
November 5, 2020

What is your $PATH set to? If it isn't, try set it to %\jdk..\jre..\bin

and check that you can access keytool from the cmdprmpt

I had the same error message and this worked for me. Thread below:

https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-install-ThingWorx-Foundation-Trial-v9/m-p/696612

 

1-Visitor
November 5, 2020

Hi... Thanks for responding.

In my system, I have installed JDK-9 also. After uninstalling JDK-9, it's installed correctly.