After you have installed OpenEdge, you might want to:

  • Upgrade the JDK to a different distribution
  • Change the location of the JDK on your computer

After upgrade or install a new JDK, you must upgrade your OpenEdge configuration by completing the following steps:

  1. Launch Proenv utility with administrator privileges:
    • On Windows: Select Start > Programs (or All Programs) > Progress > OpenEdge > Proenv.
    • On Linux: Run the proenv.sh script located in the $DLC/bin folder
  2. Stop all running OpenEdge components, including any PAS for OpenEdge instances.
    • If you use the OpenEdge database, run the following command to stop it:

      $DLC/bin/dbman -all -stop
    • If you use the AdminServer, stop it. For details, see Stop the AdminServer.

    • If you use OpenEdge Management, perform the appropriate action based on how it is configured on your system:
      • As a process: Stop OpenEdge Management.
      • As a service: Stop OpenEdge Management and unregister it.
        1. Stop OpenEdge Management.
        2. Unregister OpenEdge Management:
          fathom -unregister

        For details on stopping OpenEdge Management, see Stop OpenEdge Management.

  3. Change the value of the JAVA_HOME environment variable in the OpenEdge_installation_dir/properties/java.properties file to your new JDK path.
    JAVA_HOME=<Path_to_JDK>\bin\java.exe
  4. If you launch Developer Studio from the shortcut menu, the configuration you applied in the above step is sufficient. However, if you launch Developer Studio by running the eclipse.exe file directly, you must update the JDK path in the -vm argument within the eclipse.ini file located at C:\Progress\OpenEdge\oeide\eclipse\.
    -vm
    <Path_to_JDK>/bin/javaw.exe

    This change lets you automatically open .p, .w, or .cls files in Developer Studio by simply double-clicking them on your computer.

  5. Restart all OpenEdge components that you use. For example:
    • Launch Developer Studio.
    • Start a PAS for OpenEdge instance.
    • Start the generic JMS adapter using the oemessaging script.
    • If you use OpenEdge database instances, then run the following command to start it:
      $DLC/bin/dbman -start
    • If you use AdminServer, start it. For details, see Start the AdminServer.
    • If you use OpenEdge Management, perform the appropriate action based on how it is configured on your system:
      • As a process: Start OpenEdge Management.
      • As a service: Reregister and start OpenEdge Management.
        1. Reregister OpenEdge Management:
          fathom -register
        2. Start OpenEdge Management.

        For details on starting OpenEdge Management, see Start OpenEdge Management.

    If your PAS for OpenEdge instance runs as a Windows service, reregister the service to apply the new JDK path. For details, see Update PASOE Windows service after JDK upgrade .