Configuring Java Development Kit After Upgrading to New Version



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.


  1. After installing FogBugz, click on the Windows Start button and type Services to open the Windows Services Manager.
  2. Stop all of the FogBugz services:
    • FogBugz ElasticSearch
    • FogBugz Heartbeat Pinger
    • FogBugz Queuing Service


  3. Uninstall your old JDK version:
    1. Navigate to Control Panel > Uninstall a program.
    2. Select Java (TM) SE Development Kit and click Uninstall.
  4. Install the required JDK version (e.g., 8u241).
  5. Check that the registry key for ElasticSearch has the correct Java folder specified and update it if needed.
  6. Important: Upgrading JDK to a new version may not update the JAVA_HOME environment variable automatically. Hence, you need to update it manually:
    1. Navigate to Control Panel > System and Security > System.
    2. Click Advanced system settings.

    3. Click Environment Variables.

    4. Find the JAVA_HOME variable and replace its value with the path to the new JDK version.
  7. Start the FogBugz services or restart the server.

Related Articles

Back to top