Skip to main content
4-Participant
September 19, 2024
Question

PRO_JAVA_COMMAND environment variable reverting to different version

  • September 19, 2024
  • 3 replies
  • 1224 views

PRO_JAVA_COMMAND variable keeps reverting to a different path.

Throwing the following error when launching schematics
"Java 11 or above is required for creo schematics to run. No supported version of Java was found."

 

C:\Program Files\Amazon Corretto\jdk11.0.22_8\bin\javaw.exe - Path it reverts to

C:\Program Files\Amazon Corretto\jdk11.0.23_9\bin\javaw.exe - Path that works when switched back

 

Its only happening for one user. I have combed around and do not see the old version. Java updates are turned off. Seems to happen about once a week. Temp path is ok.

3 replies

24-Ruby III
September 20, 2024

Article - "Getting the error message "Java X or above is required for Creo Schematics to run. No java was found" during startup of Creo Schematics even though Java is installed": https://www.ptc.com/en/support/article/CS337054 

17-Peridot
December 3, 2024

Hello @zmartin ,

Because you are seeing this issue with only one user. I have something which you can check.
If you are using Windows operating system. How are the environment variables being set? 

Where has the PRO_JAVA_COMMAND been defined? (User variables, System Variables)
If you have other user accounts which you can check, compare working accounts with the problem account.

Let me know what you find.
Regards,

Pehowe

17-Peridot
December 19, 2024

Hello @zmartin ,  Have you been able to resolve this issue?  Because this is only for one user, Have you checked the environment from that user account? It is possible that a different version of Java has been installed for just that user.
If you have found a resolutions please post the solution.

Regards,

Pehowe