Changing JDK version: Update all paths that reference Java locations

If you have determined that you must change JDK versions, update the paths described in this topic.

  1. Update paths for DSSO:
    1. Run the setvars command. From a command window in the Infor Lawson environment, specify: <DSSOIntallation>\setvars.cmd
    2. Set the updated paths for these variables:
      • @set JAVA_HOME
      • @set LAW_JAVA_HOME
      • @set LAW_JAVA_BIN
    3. Update the installation configuration file. Open C:\lawson\dsso\<DSSO_NAME>\config.bat for editing.
    4. Set the updated paths for these variables:
      • @set LAWPATH
      • @set LAW_JAVA_HOME
      • @set LAW_JAVA_BIN
    5. Update the DSSO instance configuration file. Open C:\lawson\cfg\<DSSO_NAME>\config.bat for editing.
    6. Set the updated paths for these variables:
      • @set LAWPATH
      • @set JAVA_HOME
      • @set LAW_JAVA_HOME
      • @set LAW_JAVA_BIN
  2. Update paths in ISS.
    1. Open %LAWDIR%\lss\system\install.cfg for editng.
    2. Set the updated paths for these variables:
      • LAWPATH
      • LAW_JAVA_HOME
      • LAW_JAVA_BIN
      • PATH