cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

the handle is invalid Windchill

MS_Santos
14-Alexandrite

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

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire I
(To:MS_Santos)

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

View solution in original post

7 REPLIES 7
jbailey
17-Peridot
(To:MS_Santos)

Is Java still in that location?

MS_Santos
14-Alexandrite
(To:jbailey)

Hello,

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

jbailey
17-Peridot
(To:MS_Santos)

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

MS_Santos
14-Alexandrite
(To:jbailey)

It's strange that after trying several times, it connects fine.

VR_4000
12-Amethyst
(To:MS_Santos)

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 I
(To:MS_Santos)

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

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 

Announcements


Top Tags