Skip to main content
15-Moonstone
August 28, 2024
Solved

the handle is invalid Windchill

  • August 28, 2024
  • 4 replies
  • 1575 views

 

I have a problem with a shortcut on the server machine that should execute the following command

C:\ptc\Windchill_13.0\Windchill\bin\windchill.exe -w “C:\ptc\Windchill_13.0\Windchill” --java=“C:\Program Files\Amazon Corretto\jdk17.0.12_7\bin\java.exe” shell and it shows

 

the handle is invalid

Best answer by HelesicPetr

Hello @MS_Santos 

I would recommend to use different place for java JDK. 

The C:\Program Files\ is very strict area, and I have experience similar issues if the JDK is placed there 

Does not matter that you run it as an Administrator.

So install/move the JDK to different place then C:\Program Files\...

 

PetrH

4 replies

jbailey
18-Opal
August 28, 2024

Is Java still in that location?

MS_Santos15-MoonstoneAuthor
15-Moonstone
August 29, 2024

Hello,

When you say this location, is it the Windchill server? If so, yes

jbailey
18-Opal
August 29, 2024

Just verifying that the file path to java is the same as what you have in your command

14-Alexandrite
September 6, 2024

It may be a conflict on java itself, if you have multiple versions installed, try uninstalling all java, restarting the computer and then installing only one java.

HelesicPetr
22-Sapphire II
22-Sapphire II
September 9, 2024

Hello @MS_Santos 

I would recommend to use different place for java JDK. 

The C:\Program Files\ is very strict area, and I have experience similar issues if the JDK is placed there 

Does not matter that you run it as an Administrator.

So install/move the JDK to different place then C:\Program Files\...

 

PetrH

Community Moderator
September 17, 2024

Hi @MS_Santos,

 

I wanted to see if you got the help you needed.


If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.

 

Thanks,

Anurag