Skip to main content
15-Moonstone
Aug 28, 2024 3:32 PM UTC
Solved

the handle is invalid Windchill

 

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

HelesicPetr
22-Sapphire II
Sep 9, 2024 6:10 AM UTC

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

7 replies

jbailey
18-Opal
Aug 28, 2024 7:41 PM UTC

Is Java still in that location?

Translate
MS_Santos15-MoonstoneAuthor
15-Moonstone
Aug 29, 2024 10:27 AM UTC

Hello,

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

Translate
jbailey
18-Opal
Aug 29, 2024 11:19 AM UTC

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

Translate
14-Alexandrite
Sep 6, 2024 1:41 PM UTC

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.

Translate
HelesicPetr
22-Sapphire II
Sep 9, 2024 6:10 AM UTC

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

Translate
Community Moderator
Sep 17, 2024 7:04 PM UTC

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 

Translate