Upgaradation Procedure

  1. Press “Win+R”, type “services.msc” and press Enter.
    Figure 1. Java Upgradation
  2. Search for solr service, click on “solr server” service and then click “Stop” the service on the left panel to stop the service.
    Note:
    Solr Server / Solr Server
    Figure 2. Java Upgradation (Cont.)
  3. Download the folder jdk-23.0.1.zip from the path mentioned in the source field of Java Details .
  4. Search for folder with the name ‘Java’ in the path e.g.: C:\Program Files or find the path using JAVA_HOME variable from environmental variables and copy the folder and take backup, it should not be in the same location.
  5. Delete the contents inside the folder ‘Java’.
  6. Extract the downloaded zip file jdk-23.0.1.zip, copy the contents and paste inside ‘Java’ Folder.
    Figure 3. Java Upgradation (Cont.)
  7. Please perform the following steps to check/set environment variable for latest Java version:
    1. Open File Explorer, go to This PC, right-click and select Properties.
      Figure 4. Java Upgradation (Cont.)
    2. Click on Advanced tab in System Properties window.

      Figure 5. Java Upgradation (Cont.)
    3. Click Environment Variables.

    4. Search for ‘‘JAVA_HOME’ in the Variable name section’ and rename it as JAVA_HOME_OLD and click ok to close the box.

    5. Click New under System Variables section.

    6. Enter ‘JAVA_HOME’ in the Variable name section and e.g.: ‘C:\Program Files\Java’ in Variable value section.

    7. Click OK to close the box.

      Figure 6. Figure 72 – Java Upgradation (Cont.)
    8. Under System variables section, find the variable named Path, select that variable

      Figure 7. Java Upgradation (Cont.)
    9. Now check, %JAVA_HOME% the Variable value exist or not, if not then add the variable value.

    10. Further check %JAVA_HOME%\bin the Variable value exist or not, if not then add the variable value.

    11. Click OK to close the dialog box.

  8. To validate successful installation of Java, open Command Prompt as Administrator, and type java –version and press Enter on the keyboard.
  9. On successful Java installation, Java Version will be displayed.
    Figure 8. Java Upgradation (Cont.)
    A black background with white text Description automatically generated
  10. If Java version is correct as mentioned in above figure, then Go to Control Panel  System and Security  System  Advanced System Settings. Click Environment Variables. A new dialog box appears. Click New under System Variables section.
  11. Search for ‘‘JAVA_HOME_OLD” in the Variable name section, select it and Click ‘Delete’ button.
  12. Check the java version again.
  13. Press “Win+R”, type “services.msc” and press Enter.
    Figure 9. Java Upgradation (Cont.)
    Note:
    Upgrade the Solr version to 9.7.0 After Java version 23 upgradation.
  14. Search for Solr service. Click on “Solr Server” service and then click “Start” the service on the left panel to stop the service.
    Note:
    Solr Server / Solr Server
    Figure 10. Java Upgradation (Cont.)