Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
Solved! Go to Solution.
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
Is Java still in that location?
Hello,
When you say this location, is it the Windchill server? If so, yes
Just verifying that the file path to java is the same as what you have in your command
It's strange that after trying several times, it connects fine.
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.
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