When JDK is installed from scratch, it is automatically configured during the installation. However, if you are migrating or upgrading FogBugz and JDK to a new version, you need to perform the following steps to make sure that the JDK configuration is updated.
- After installing FogBugz, click on the Windows Start button and type
Servicesto open the Windows Services Manager.
- Stop all of the FogBugz services:
- FogBugz ElasticSearch
- FogBugz Heartbeat Pinger
- FogBugz Queuing Service
- Uninstall your old JDK version:
- Navigate to Control Panel > Uninstall a program.
- Select Java (TM) SE Development Kit and click Uninstall.
- Install the required JDK version (e.g., 8u241).
- Check that the registry key for ElasticSearch has the correct Java folder specified and update it if needed.
- Important: Upgrading JDK to a new version may not update the JAVA_HOME environment variable automatically. Hence, you need to update it manually:
- Navigate to Control Panel > System and Security > System.
- Click Advanced system settings.
- Click Environment Variables.
- Find the JAVA_HOME variable and replace its value with the path to the new JDK version.
- Start the FogBugz services or restart the server.