Java configuration
Last updated
Last updated
To check the Java version used by the Jobserver you can open the wrapper.log found under the logs folder under the Jobserver folder, and see the following lines:
To check the Java version used by the Web Client you can open the About section:
When you need to change the Java installation on a machine with the Jobserver and WebClient already installed, the services for each component must be configured to use the new java.
Set the JAVA_HOME (for JDK) or JRE_HOME (for JRE) to point to the new Java installation folder.
First ensure there are no running jobs on the Jobserver
Go to the Server Components folder (default is C:\Program Files (x86)\fme AG\migration-center Server Components x.xx) and run the following two scripts in order using Run as Administrator:
UninstallWinNTService.bat
InstallAsWinNTService.bat
Then ensure the server is started again with the appropriate credentials if needed.
Go to the C:\Program Files (x86)\fme AG\migration-center Web Client\bin folder and open the McWebClientw.exe file.
On the Java tab edit the Java Virtual Machine field to point to the jvm.dll file under your new Java install. In some java versions it's directly under bin\server\jvm.dll
while in others it's under \jre\bin\server\jvm.dll
. Here's an example on how the path should look:
C:\Program Files\Java\OpenJDK\jdk-8.402\jre\bin\server\jvm.dll
After setting this restart the WebClient service using the Windows Services window.