Changing the Java Development Kit (JDK)
Perform following steps to change the JDK from Oracle Oracle Java SE to Amazon Corretto Java:
1. Install Amazon Corretto Java. Refer to the Windchill Software Matrix for the supported versions.
2. Update following properties in the wt.properties file Using the xconfmanager Utility.
◦ wt.jdk=<Installation folder of Amazone Corretto Java8>
For example,
▪ On Windows: wt.jdk=E:\amazon-corretto\jdk1.8.0_222
▪ On Linux: wt.jdk==/opt/amazon-corretto/jdk1.8.0_222
◦ wt.java.cmd=<JRE Location with java.exe>
For example,
▪ On Windows: wt.java.cmd=E:\amazon-corretto\jdk1.8.0_222\jre\bin\java.exe
▪ On Linux: wt.java.cmd=/opt/amazon-corretto/jdk1.8.0_222/jre/bin/java
3. Run xconfmanager -p on Windchill shell.
4. Close Windchill shell and launch it again.
5. Restart the Windchill server.
|
You should revert to the original JDK, if the change of JDK was made after the PSI install. Perform the above steps, except the location for JDK should point to the original JDK configured during the fresh install.
|